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:   Fri, 28 Oct 2022 10:53:35 +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-highbank/pm.c:43:13: warning: no previous prototype
 for function 'highbank_pm_init'

Hi Arnd,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   23758867219c8d84c8363316e6dd2f9fd7ae3049
commit: 09f6b27d5ddd9ad0ec096d1b0f8decdacc70f0f8 ARM: dove: multiplatform support
date:   7 months ago
config: arm-randconfig-c002-20221026
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 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=09f6b27d5ddd9ad0ec096d1b0f8decdacc70f0f8
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 09f6b27d5ddd9ad0ec096d1b0f8decdacc70f0f8
        # 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 SHELL=/bin/bash arch/arm/mach-highbank/ drivers/clk/ti/ drivers/crypto/ drivers/gpu/drm/meson/ drivers/usb/

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-highbank/pm.c:43:13: warning: no previous prototype for function 'highbank_pm_init' [-Wmissing-prototypes]
   void __init highbank_pm_init(void)
               ^
   arch/arm/mach-highbank/pm.c:43:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void __init highbank_pm_init(void)
   ^
   static 
   1 warning generated.
--
>> drivers/clk/ti/dpll.c:46:29: warning: unused variable 'dpll_m4xen_ck_ops' [-Wunused-const-variable]
   static const struct clk_ops dpll_m4xen_ck_ops = {};
                               ^
   1 warning generated.


vim +/highbank_pm_init +43 arch/arm/mach-highbank/pm.c

8b61f37440388e Rob Herring 2011-05-15  42  
a283580c52d3aa Rob Herring 2012-09-17 @43  void __init highbank_pm_init(void)

:::::: The code at line 43 was first introduced by commit
:::::: a283580c52d3aa24305985e945dfccfbcfc6f4f9 ARM: highbank: call highbank_pm_init from .init_machine

:::::: TO: Rob Herring <rob.herring@...xeda.com>
:::::: CC: Olof Johansson <olof@...om.net>

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ