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: <202210092334.hzbIS1TR-lkp@intel.com>
Date:   Sun, 9 Oct 2022 23:09:57 +0800
From:   kernel test robot <lkp@...el.com>
To:     Christophe Leroy <christophe.leroy@...roup.eu>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org, Michael Ellerman <mpe@...erman.id.au>
Subject: [linuxppc:next 117/211] arch/powerpc/mm/nohash/e500.c:314:21:
 warning: no previous prototype for function 'relocate_init'

Hi Christophe,

First bad commit (maybe != root cause):

tree:   https://github.com/linuxppc/linux next
head:   376b3275c19f83d373e841e9af2d7658693190b9
commit: 3e7318584dfec11992f3ac45658c4bc1210b3778 [117/211] powerpc: Remove CONFIG_PPC_FSL_BOOK3E
config: powerpc-randconfig-r035-20221009
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920)
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 powerpc cross compiling tool for clang build
        # apt-get install binutils-powerpc-linux-gnu
        # https://github.com/linuxppc/linux/commit/3e7318584dfec11992f3ac45658c4bc1210b3778
        git remote add linuxppc https://github.com/linuxppc/linux
        git fetch --no-tags linuxppc next
        git checkout 3e7318584dfec11992f3ac45658c4bc1210b3778
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash arch/powerpc/mm/nohash/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>

Note: functions only called from assembly code should be annotated with the asmlinkage attribute
All warnings (new ones prefixed by >>):

>> arch/powerpc/mm/nohash/e500.c:314:21: warning: no previous prototype for function 'relocate_init' [-Wmissing-prototypes]
   notrace void __init relocate_init(u64 dt_ptr, phys_addr_t start)
                       ^
   arch/powerpc/mm/nohash/e500.c:314:9: note: declare 'static' if the function is not intended to be used outside of this translation unit
   notrace void __init relocate_init(u64 dt_ptr, phys_addr_t start)
           ^
           static 
   1 warning generated.


vim +/relocate_init +314 arch/powerpc/mm/nohash/e500.c

dd189692d40948 arch/powerpc/mm/fsl_booke_mmu.c Kevin Hao 2013-12-24  311  
dd189692d40948 arch/powerpc/mm/fsl_booke_mmu.c Kevin Hao 2013-12-24  312  #ifdef CONFIG_RELOCATABLE
7d2471f9fa8508 arch/powerpc/mm/fsl_booke_mmu.c Kevin Hao 2013-12-24  313  int __initdata is_second_reloc;
7d2471f9fa8508 arch/powerpc/mm/fsl_booke_mmu.c Kevin Hao 2013-12-24 @314  notrace void __init relocate_init(u64 dt_ptr, phys_addr_t start)

:::::: The code at line 314 was first introduced by commit
:::::: 7d2471f9fa85089beb1cb9436ffc28f9e11e518d powerpc/fsl_booke: make sure PAGE_OFFSET map to memstart_addr for relocatable kernel

:::::: TO: Kevin Hao <haokexin@...il.com>
:::::: CC: Scott Wood <scottwood@...escale.com>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (170856 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ