From: kernel test robot <lkp@intel.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [arm-integrator:kernel-in-vmalloc-v5.14-rc1 9/9] arch/arm/mm/init.c:318:13: warning: no previous prototype for 'mem_init_print_arm_info'
Date: Sat, 7 Aug 2021 10:22:59 +0800 [thread overview]
Message-ID: <202108071044.W4oKGy4R-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 4938 bytes --]
Hi Linus,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git kernel-in-vmalloc-v5.14-rc1
head: 7c9dd64f2a22ee380da41e511593de3bc5c67f30
commit: 7c9dd64f2a22ee380da41e511593de3bc5c67f30 [9/9] compile fix
config: arm-aspeed_g4_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git/commit/?id=7c9dd64f2a22ee380da41e511593de3bc5c67f30
git remote add arm-integrator https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git
git fetch --no-tags arm-integrator kernel-in-vmalloc-v5.14-rc1
git checkout 7c9dd64f2a22ee380da41e511593de3bc5c67f30
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
arch/arm/mm/init.c:97:13: warning: no previous prototype for 'setup_dma_zone' [-Wmissing-prototypes]
97 | void __init setup_dma_zone(const struct machine_desc *mdesc)
| ^~~~~~~~~~~~~~
>> arch/arm/mm/init.c:318:13: warning: no previous prototype for 'mem_init_print_arm_info' [-Wmissing-prototypes]
318 | void __init mem_init_print_arm_info(void)
| ^~~~~~~~~~~~~~~~~~~~~~~
--
arch/arm/mm/mmu.c:118:13: warning: no previous prototype for 'init_default_cache_policy' [-Wmissing-prototypes]
118 | void __init init_default_cache_policy(unsigned long pmd)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm/mm/mmu.c:1159:13: warning: no previous prototype for 'adjust_lowmem_bounds' [-Wmissing-prototypes]
1159 | void __init adjust_lowmem_bounds(void)
| ^~~~~~~~~~~~~~~~~~~~
>> arch/arm/mm/mmu.c:1560:13: warning: no previous prototype for 'vm_reserve_kernel' [-Wmissing-prototypes]
1560 | void __init vm_reserve_kernel(struct map_desc *md)
| ^~~~~~~~~~~~~~~~~
arch/arm/mm/mmu.c:1760:13: warning: no previous prototype for 'paging_init' [-Wmissing-prototypes]
1760 | void __init paging_init(const struct machine_desc *mdesc)
| ^~~~~~~~~~~
arch/arm/mm/mmu.c:1793:13: warning: no previous prototype for 'early_mm_init' [-Wmissing-prototypes]
1793 | void __init early_mm_init(const struct machine_desc *mdesc)
| ^~~~~~~~~~~~~
vim +/mem_init_print_arm_info +318 arch/arm/mm/init.c
d0e775afb94d9b Russell King 2010-10-27 317
64992aa472cd75 Linus Walleij 2021-02-04 @318 void __init mem_init_print_arm_info(void)
64992aa472cd75 Linus Walleij 2021-02-04 319 {
64992aa472cd75 Linus Walleij 2021-02-04 320 #define MLM(b, t) b, t, ((t) - (b)) >> 20
64992aa472cd75 Linus Walleij 2021-02-04 321 pr_notice("Virtual kernel memory layout:\n"
64992aa472cd75 Linus Walleij 2021-02-04 322 " fixmap : 0x%08lx - 0x%08lx (%4ld MB)\n"
64992aa472cd75 Linus Walleij 2021-02-04 323 " vmalloc : 0x%08lx - 0x%08lx (%4ld MB)\n"
64992aa472cd75 Linus Walleij 2021-02-04 324 " lowmem : 0x%08lx - 0x%08lx (%4ld MB)\n"
64992aa472cd75 Linus Walleij 2021-02-04 325 #ifdef CONFIG_MODULES
64992aa472cd75 Linus Walleij 2021-02-04 326 " modules : 0x%08lx - 0x%08lx (%4ld MB)\n",
64992aa472cd75 Linus Walleij 2021-02-04 327 #endif
64992aa472cd75 Linus Walleij 2021-02-04 328 " kernel : 0x%08lx - 0x%08lx (%4ld MB)\n",
64992aa472cd75 Linus Walleij 2021-02-04 329 MLM(FIXADDR_START, FIXADDR_END),
64992aa472cd75 Linus Walleij 2021-02-04 330 MLM(VMALLOC_START, VMALLOC_END),
64992aa472cd75 Linus Walleij 2021-02-04 331 MLM(PAGE_OFFSET, (unsigned long)high_memory),
64992aa472cd75 Linus Walleij 2021-02-04 332 #ifdef CONFIG_MODULES
64992aa472cd75 Linus Walleij 2021-02-04 333 MLM(MODULES_VADDR, MODULES_END),
64992aa472cd75 Linus Walleij 2021-02-04 334 #endif
64992aa472cd75 Linus Walleij 2021-02-04 335 /* From beginning of .text to end of .bss */
64992aa472cd75 Linus Walleij 2021-02-04 336 MLM((unsigned long)_text, (unsigned long)__bss_stop));
64992aa472cd75 Linus Walleij 2021-02-04 337 #undef MLM
64992aa472cd75 Linus Walleij 2021-02-04 338 }
64992aa472cd75 Linus Walleij 2021-02-04 339
:::::: The code at line 318 was first introduced by commit
:::::: 64992aa472cd75ce549ebbeeead79863dc025361 ARM: Print virtual memory info again
:::::: TO: Linus Walleij <linus.walleij@linaro.org>
:::::: CC: Linus Walleij <linus.walleij@linaro.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 24411 bytes --]
reply other threads:[~2021-08-07 2:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202108071044.W4oKGy4R-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox