lkml.org 
[lkml]   [2022]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectdrivers/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@intel.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@socionext.com>
:::::: CC: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>

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

\
 
 \ /
  Last update: 2022-05-12 16:07    [W:0.055 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site