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, 7 May 2021 13:14:16 +0800
From:   kernel test robot <lkp@...el.com>
To:     Krzysztof Kozlowski <krzk@...nel.org>
Cc:     kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
        linux-kernel@...r.kernel.org, Dinh Nguyen <dinguyen@...nel.org>
Subject: drivers/reset/reset-a10sr.c:111:34: warning: unused variable
 'a10sr_reset_of_match'

Hi Krzysztof,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   e48661230cc35b3d0f4367eddfc19f86463ab917
commit: 4a9a1a5602d82c079325bf37466af0b67d6c0b9e arm64: socfpga: merge Agilex and N5X into ARCH_INTEL_SOCFPGA
date:   6 weeks ago
config: arm64-randconfig-r016-20210507 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project a3a8a1a15b524d91b5308db68e9d293b34cd88dd)
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 arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4a9a1a5602d82c079325bf37466af0b67d6c0b9e
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 4a9a1a5602d82c079325bf37466af0b67d6c0b9e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm64 

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

>> drivers/reset/reset-a10sr.c:111:34: warning: unused variable 'a10sr_reset_of_match' [-Wunused-const-variable]
   static const struct of_device_id a10sr_reset_of_match[] = {
                                    ^
   1 warning generated.


vim +/a10sr_reset_of_match +111 drivers/reset/reset-a10sr.c

627006820268f9 Thor Thayer 2017-02-22  110  
627006820268f9 Thor Thayer 2017-02-22 @111  static const struct of_device_id a10sr_reset_of_match[] = {
627006820268f9 Thor Thayer 2017-02-22  112  	{ .compatible = "altr,a10sr-reset" },
627006820268f9 Thor Thayer 2017-02-22  113  	{ },
627006820268f9 Thor Thayer 2017-02-22  114  };
627006820268f9 Thor Thayer 2017-02-22  115  MODULE_DEVICE_TABLE(of, a10sr_reset_of_match);
627006820268f9 Thor Thayer 2017-02-22  116  

:::::: The code at line 111 was first introduced by commit
:::::: 627006820268f92b62b2bde486c76ccd0fadb671 reset: Add Altera Arria10 SR Reset Controller

:::::: TO: Thor Thayer <thor.thayer@...ux.intel.com>
:::::: CC: Philipp Zabel <p.zabel@...gutronix.de>

---
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" (41598 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ