lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202108071044.W4oKGy4R-lkp@intel.com>
Date:   Sat, 7 Aug 2021 10:22:59 +0800
From:   kernel test robot <lkp@...el.com>
To:     Linus Walleij <linus.walleij@...aro.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.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'

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@...el.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@...aro.org>
:::::: CC: Linus Walleij <linus.walleij@...aro.org>

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

Download attachment ".config.gz" of type "application/gzip" (24411 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ