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:   Thu, 5 Aug 2021 04:32:26 +0800
From:   kernel test robot <lkp@...el.com>
To:     Sid Manning <sidneym@...eaurora.org>
Cc:     clang-built-linux@...glegroups.com, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org, Brian Cain <bcain@...eaurora.org>,
        Nick Desaulniers <ndesaulniers@...gle.com>
Subject: drivers/mtd/nand/raw/omap2.c:2302:34: warning: unused variable
 'omap_nand_ids'

Hi Sid,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   d5ad8ec3cfb56a017de6a784835666475b4be349
commit: 788dcee0306e1bdbae1a76d1b3478bb899c5838e Hexagon: fix build errors
date:   3 months ago
config: hexagon-buildonly-randconfig-r006-20210805 (attached as .config)
compiler: clang version 12.0.0
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=788dcee0306e1bdbae1a76d1b3478bb899c5838e
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 788dcee0306e1bdbae1a76d1b3478bb899c5838e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=hexagon 

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/mtd/nand/raw/omap2.c:2302:34: warning: unused variable 'omap_nand_ids' [-Wunused-const-variable]
   static const struct of_device_id omap_nand_ids[] = {
                                    ^
   1 warning generated.
--
>> sound/soc/codecs/adau1977-spi.c:58:34: warning: unused variable 'adau1977_spi_of_match' [-Wunused-const-variable]
   static const struct of_device_id adau1977_spi_of_match[] = {
                                    ^
   1 warning generated.


vim +/omap_nand_ids +2302 drivers/mtd/nand/raw/omap2.c

67ce04bf2746f8 drivers/mtd/nand/omap2.c Vimal Singh              2009-05-12  2301  
c9711ec5250b22 drivers/mtd/nand/omap2.c Roger Quadros            2014-05-21 @2302  static const struct of_device_id omap_nand_ids[] = {
c9711ec5250b22 drivers/mtd/nand/omap2.c Roger Quadros            2014-05-21  2303  	{ .compatible = "ti,omap2-nand", },
c9711ec5250b22 drivers/mtd/nand/omap2.c Roger Quadros            2014-05-21  2304  	{},
c9711ec5250b22 drivers/mtd/nand/omap2.c Roger Quadros            2014-05-21  2305  };
b156b7f2169bb4 drivers/mtd/nand/omap2.c Javier Martinez Canillas 2016-10-17  2306  MODULE_DEVICE_TABLE(of, omap_nand_ids);
c9711ec5250b22 drivers/mtd/nand/omap2.c Roger Quadros            2014-05-21  2307  

:::::: The code at line 2302 was first introduced by commit
:::::: c9711ec5250b22fd94e9b34c17c095e001a90e66 mtd: nand: omap: Clean up device tree support

:::::: TO: Roger Quadros <rogerq@...com>
:::::: CC: Roger Quadros <rogerq@...com>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ