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]
Date:   Sun, 14 Aug 2022 21:01:34 +0800
From:   kernel test robot <lkp@...el.com>
To:     Paul Cercueil <paul@...pouillou.net>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org,
        Thomas Bogendoerfer <tsbogend@...ha.franken.de>
Subject: drivers/clk/loongson1/clk-loongson1b.c:40:13: warning: no previous
 prototype for function 'ls1x_clk_init'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   aea23e7c464bfdec04b52cf61edb62030e9e0d0a
commit: c434b9f80b0923e6460031b0fd964f8b0bf3c6a6 MIPS: Kconfig: add MIPS_GENERIC_KERNEL symbol
date:   1 year, 11 months ago
config: mips-randconfig-r023-20220731 (https://download.01.org/0day-ci/archive/20220814/202208142045.g3U91bp3-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 52cd00cabf479aa7eb6dbb063b7ba41ea57bce9e)
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 mips cross compiling tool for clang build
        # apt-get install binutils-mipsel-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c434b9f80b0923e6460031b0fd964f8b0bf3c6a6
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout c434b9f80b0923e6460031b0fd964f8b0bf3c6a6
        # 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=mips SHELL=/bin/bash arch/mips/kernel/ drivers/clk/loongson1/

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 >>):

>> drivers/clk/loongson1/clk-loongson1b.c:40:13: warning: no previous prototype for function 'ls1x_clk_init' [-Wmissing-prototypes]
   void __init ls1x_clk_init(void)
               ^
   drivers/clk/loongson1/clk-loongson1b.c:40:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void __init ls1x_clk_init(void)
   ^
   static 
   1 warning generated.


vim +/ls1x_clk_init +40 drivers/clk/loongson1/clk-loongson1b.c

3526f74fa925e4 drivers/clk/clk-ls1x.c Kelvin Cheung 2014-10-10  39  
5175cb5894d606 drivers/clk/clk-ls1x.c Kelvin Cheung 2012-08-20 @40  void __init ls1x_clk_init(void)

:::::: The code at line 40 was first introduced by commit
:::::: 5175cb5894d606f1756c07a685e6dcabd2d8745a clk: add Loongson1B clock support

:::::: TO: Kelvin Cheung <keguang.zhang@...il.com>
:::::: CC: Mike Turquette <mturquette@...aro.org>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ