* drivers/media/dvb-frontends/mn88443x.c:772:34: warning: 'mn88443x_of_match' defined but not used
@ 2022-05-12 14:06 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-05-12 14:06 UTC (permalink / raw)
To: Stefan Agner; +Cc: kbuild-all, linux-kernel, Mauro Carvalho Chehab, linux-media
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-12 14:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-12 14:06 drivers/media/dvb-frontends/mn88443x.c:772:34: warning: 'mn88443x_of_match' defined but not used kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.