All of lore.kernel.org
 help / color / mirror / Atom feed
* [arm-integrator:kernel-in-vmalloc-v5.13-rc1 2/8] arch/arm/mm/init.c:296:13: warning: no previous prototype for function 'mem_init_print_arm_info'
@ 2021-05-17 17:24 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-17 17:24 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3319 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git kernel-in-vmalloc-v5.13-rc1
head:   7e5485b7d61fc97a247dc26f4888293aab05136b
commit: e6cd53886e36cf1bef7e3a060a61805d156dabc9 [2/8] ARM: Print virtual memory info again
config: arm-randconfig-r012-20210517 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 0a34ff8bcb1df16fe7d643ccbe4567b2162c5024)
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
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git/commit/?id=e6cd53886e36cf1bef7e3a060a61805d156dabc9
        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.13-rc1
        git checkout e6cd53886e36cf1bef7e3a060a61805d156dabc9
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 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 function 'setup_dma_zone' [-Wmissing-prototypes]
   void __init setup_dma_zone(const struct machine_desc *mdesc)
               ^
   arch/arm/mm/init.c:97:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void __init setup_dma_zone(const struct machine_desc *mdesc)
   ^
   static 
>> arch/arm/mm/init.c:296:13: warning: no previous prototype for function 'mem_init_print_arm_info' [-Wmissing-prototypes]
   void __init mem_init_print_arm_info(void)
               ^
   arch/arm/mm/init.c:296:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void __init mem_init_print_arm_info(void)
   ^
   static 
   2 warnings generated.


vim +/mem_init_print_arm_info +296 arch/arm/mm/init.c

   295	
 > 296	void __init mem_init_print_arm_info(void)
   297	{
   298	#define MLM(b, t) b, t, ((t) - (b)) >> 20
   299		pr_notice("Virtual kernel memory layout:\n"
   300			  "    fixmap  : 0x%08lx - 0x%08lx   (%4ld MB)\n"
   301			  "    vmalloc : 0x%08lx - 0x%08lx   (%4ld MB)\n"
   302			  "    lowmem  : 0x%08lx - 0x%08lx   (%4ld MB)\n"
   303	#ifdef CONFIG_MODULES
   304			  "    modules : 0x%08lx - 0x%08lx   (%4ld MB)\n",
   305	#endif
   306			  "     kernel : 0x%08lx - 0x%08lx   (%4ld MB)\n",
   307			  MLM(FIXADDR_START, FIXADDR_END),
   308			  MLM(VMALLOC_START, VMALLOC_END),
   309			  MLM(PAGE_OFFSET, (unsigned long)high_memory),
   310	#ifdef CONFIG_MODULES
   311			  MLM(MODULES_VADDR, MODULES_END),
   312	#endif
   313			  /* From beginning of .text to end of .bss */
   314			  MLM((unsigned long)_text, (unsigned long)__bss_stop));
   315	#undef MLM
   316	}
   317	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 37902 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-17 17:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-17 17:24 [arm-integrator:kernel-in-vmalloc-v5.13-rc1 2/8] arch/arm/mm/init.c:296:13: warning: no previous prototype for function 'mem_init_print_arm_info' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.