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: <202201171330.2qRTJyxi-lkp@intel.com>
Date:   Mon, 17 Jan 2022 13:52:57 +0800
From:   kernel test robot <lkp@...el.com>
To:     Miquel Raynal <miquel.raynal@...tlin.com>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org
Subject: drivers/mtd/nand/raw/renesas-nand-controller.c:1405:34: warning:
 unused variable 'rnandc_id_table'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   35ce8ae9ae2e471f92759f9d6880eab42cc1c3b6
commit: d8701fe890ecbab239086e7053d62d0f08587d7c mtd: rawnand: renesas: Add new NAND controller driver
date:   4 weeks ago
config: hexagon-randconfig-r014-20220117 (https://download.01.org/0day-ci/archive/20220117/202201171330.2qRTJyxi-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 5f782d25a742302d25ef3c8b84b54f7483c2deb9)
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=d8701fe890ecbab239086e7053d62d0f08587d7c
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout d8701fe890ecbab239086e7053d62d0f08587d7c
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/mtd/nand/raw/

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/renesas-nand-controller.c:1405:34: warning: unused variable 'rnandc_id_table' [-Wunused-const-variable]
   static const struct of_device_id rnandc_id_table[] = {
                                    ^
   1 warning generated.


vim +/rnandc_id_table +1405 drivers/mtd/nand/raw/renesas-nand-controller.c

  1404	
> 1405	static const struct of_device_id rnandc_id_table[] = {
  1406		{ .compatible = "renesas,rcar-gen3-nandc" },
  1407		{ .compatible = "renesas,rzn1-nandc" },
  1408		{} /* sentinel */
  1409	};
  1410	MODULE_DEVICE_TABLE(of, rnandc_id_table);
  1411	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ