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: <202212171434.zOjDaE2Z-lkp@intel.com>
Date:   Sat, 17 Dec 2022 14:31:31 +0800
From:   kernel test robot <lkp@...el.com>
To:     Arnd Bergmann <arnd@...db.de>
Cc:     llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
        linux-kernel@...r.kernel.org
Subject: arch/arm/mach-iop32x/n2100.c:65:13: warning: no previous prototype
 for function 'n2100_map_io'

Hi Arnd,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   77856d911a8c8724ee8e2b09d55979fc1de8f1c0
commit: 7036440eab3e2d47a775d4616909f8235488d714 ARM: omap1: enable multiplatform
date:   7 months ago
config: arm-randconfig-r011-20221216
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 98b13979fb05f3ed288a900deb843e7b27589e58)
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/torvalds/linux.git/commit/?id=7036440eab3e2d47a775d4616909f8235488d714
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 7036440eab3e2d47a775d4616909f8235488d714
        # 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=arm olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash

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

All warnings (new ones prefixed by >>):

>> arch/arm/mach-iop32x/n2100.c:65:13: warning: no previous prototype for function 'n2100_map_io' [-Wmissing-prototypes]
   void __init n2100_map_io(void)
               ^
   arch/arm/mach-iop32x/n2100.c:65:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void __init n2100_map_io(void)
   ^
   static 
   1 warning generated.


vim +/n2100_map_io +65 arch/arm/mach-iop32x/n2100.c

e60d07b6cd38a7 Lennert Buytenhek 2006-09-21  64  
e60d07b6cd38a7 Lennert Buytenhek 2006-09-21 @65  void __init n2100_map_io(void)
e60d07b6cd38a7 Lennert Buytenhek 2006-09-21  66  {
e60d07b6cd38a7 Lennert Buytenhek 2006-09-21  67  	iop3xx_map_io();
e60d07b6cd38a7 Lennert Buytenhek 2006-09-21  68  	iotable_init(n2100_io_desc, ARRAY_SIZE(n2100_io_desc));
e60d07b6cd38a7 Lennert Buytenhek 2006-09-21  69  }
e60d07b6cd38a7 Lennert Buytenhek 2006-09-21  70  

:::::: The code at line 65 was first introduced by commit
:::::: e60d07b6cd38a7afb85f2cf51aebcb3359b63819 [ARM] 3850/1: iop3xx: add thecus n2100 support

:::::: TO: Lennert Buytenhek <buytenh@...tstofly.org>
:::::: CC: Russell King <rmk+kernel@....linux.org.uk>

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ