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: <202205100411.pERg5Z1r-lkp@intel.com>
Date:   Tue, 10 May 2022 04:23:45 +0800
From:   kernel test robot <lkp@...el.com>
To:     Nishad Kamdar <nishadkamdar@...il.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Jonathan Cameron <Jonathan.Cameron@...wei.com>
Subject: drivers/staging/iio/resolver/ad2s1210.c:702:34: warning:
 'ad2s1210_of_match' defined but not used

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9be9ed2612b5aedb52a2c240edb1630b6b743cb6
commit: 382c7fce7005b55f0583cf5905758d2b8def803a staging: iio: ad2s1210: Add device tree table.
date:   3 years, 6 months ago
config: i386-randconfig-a002-20220509 (https://download.01.org/0day-ci/archive/20220510/202205100411.pERg5Z1r-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=382c7fce7005b55f0583cf5905758d2b8def803a
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 382c7fce7005b55f0583cf5905758d2b8def803a
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/staging/iio/resolver/

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/staging/iio/resolver/ad2s1210.c:702:34: warning: 'ad2s1210_of_match' defined but not used [-Wunused-const-variable=]
     702 | static const struct of_device_id ad2s1210_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~


vim +/ad2s1210_of_match +702 drivers/staging/iio/resolver/ad2s1210.c

   701	
 > 702	static const struct of_device_id ad2s1210_of_match[] = {
   703		{ .compatible = "adi,ad2s1210", },
   704		{ }
   705	};
   706	MODULE_DEVICE_TABLE(of, ad2s1210_of_match);
   707	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ