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, 12 May 2022 22:06:17 +0800
From:   kernel test robot <lkp@...el.com>
To:     Stefan Agner <stefan@...er.ch>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Mauro Carvalho Chehab <mchehab@...nel.org>,
        linux-media@...r.kernel.org
Subject: drivers/media/dvb-frontends/mn88443x.c:772:34: warning:
 'mn88443x_of_match' defined but not used

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   feb9c5e19e913b53cb536a7aa7c9f20107bb51ec
commit: 8169cf0a02caafd87ee33e66c12f7a35606a6b0c media: Kconfig: allow to select drivers if EMBEDDED
date:   3 years ago
config: i386-randconfig-a001 (https://download.01.org/0day-ci/archive/20220512/202205122148.yhQVSpac-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=8169cf0a02caafd87ee33e66c12f7a35606a6b0c
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 8169cf0a02caafd87ee33e66c12f7a35606a6b0c
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/media/dvb-frontends/

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/media/dvb-frontends/mn88443x.c:772:34: warning: 'mn88443x_of_match' defined but not used [-Wunused-const-variable=]
     772 | static const struct of_device_id mn88443x_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~


vim +/mn88443x_of_match +772 drivers/media/dvb-frontends/mn88443x.c

0f408ce8941fcb Katsuhiro Suzuki 2018-07-23  771  
0f408ce8941fcb Katsuhiro Suzuki 2018-07-23 @772  static const struct of_device_id mn88443x_of_match[] = {
0f408ce8941fcb Katsuhiro Suzuki 2018-07-23  773  	{ .compatible = "socionext,mn884433",   .data = &mn88443x_spec_pri, },
0f408ce8941fcb Katsuhiro Suzuki 2018-07-23  774  	{ .compatible = "socionext,mn884434-0", .data = &mn88443x_spec_pri, },
0f408ce8941fcb Katsuhiro Suzuki 2018-07-23  775  	{ .compatible = "socionext,mn884434-1", .data = &mn88443x_spec_sec, },
0f408ce8941fcb Katsuhiro Suzuki 2018-07-23  776  	{}
0f408ce8941fcb Katsuhiro Suzuki 2018-07-23  777  };
0f408ce8941fcb Katsuhiro Suzuki 2018-07-23  778  MODULE_DEVICE_TABLE(of, mn88443x_of_match);
0f408ce8941fcb Katsuhiro Suzuki 2018-07-23  779  

:::::: The code at line 772 was first introduced by commit
:::::: 0f408ce8941fcb1b6e8431272cfc9337a0407d73 media: dvb-frontends: add Socionext MN88443x ISDB-S/T demodulator driver

:::::: TO: Katsuhiro Suzuki <suzuki.katsuhiro@...ionext.com>
:::::: CC: Mauro Carvalho Chehab <mchehab+samsung@...nel.org>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ