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.17-rc1 4/8] arch/arm/mm/init.c:307:13: warning: no previous prototype for 'mem_init_print_arm_info'
Date: Fri, 11 Mar 2022 20:50:59 +0800 [thread overview]
Message-ID: <202203112022.UTwSPbtn-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git kernel-in-vmalloc-v5.17-rc1
head: 66e9038ef48dc66c07b12443b73e2d1f3f12cbab
commit: 18e0d99ee35450767fc8222f1727febdd2a4deac [4/8] ARM: Print virtual memory info again
config: arm-randconfig-r025-20220310 (https://download.01.org/0day-ci/archive/20220311/202203112022.UTwSPbtn-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.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=18e0d99ee35450767fc8222f1727febdd2a4deac
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.17-rc1
git checkout 18e0d99ee35450767fc8222f1727febdd2a4deac
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash arch/arm/mm/
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:307:13: warning: no previous prototype for 'mem_init_print_arm_info' [-Wmissing-prototypes]
307 | void __init mem_init_print_arm_info(void)
| ^~~~~~~~~~~~~~~~~~~~~~~
vim +/mem_init_print_arm_info +307 arch/arm/mm/init.c
306
> 307 void __init mem_init_print_arm_info(void)
308 {
309 #define MLM(b, t) b, t, ((t) - (b)) >> 20
310 pr_notice("Virtual kernel memory layout:\n"
311 " fixmap : 0x%08lx - 0x%08lx (%4ld MB)\n"
312 " vmalloc : 0x%08lx - 0x%08lx (%4ld MB)\n"
313 " lowmem : 0x%08lx - 0x%08lx (%4ld MB)\n"
314 #ifdef CONFIG_MODULES
315 " modules : 0x%08lx - 0x%08lx (%4ld MB)\n",
316 #endif
317 " kernel : 0x%08lx - 0x%08lx (%4ld MB)\n",
318 MLM(FIXADDR_START, FIXADDR_END),
319 MLM(VMALLOC_START, VMALLOC_END),
320 MLM(PAGE_OFFSET, (unsigned long)high_memory),
321 #ifdef CONFIG_MODULES
322 MLM(MODULES_VADDR, MODULES_END),
323 #endif
324 /* From beginning of .text to end of .bss */
325 MLM((unsigned long)_text, (unsigned long)__bss_stop));
326 #undef MLM
327 }
328
---
0-DAY CI Kernel Test Service
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
reply other threads:[~2022-03-11 12:51 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=202203112022.UTwSPbtn-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
all inboxes | Powered by JetHome®