* [pavel-linux-leds:for-next 61/70] drivers/leds/leds-tca6507.c:750:34: warning: unused variable 'of_tca6507_leds_match'
@ 2020-09-24 21:18 kernel test robot
2020-09-25 9:27 ` Pavel Machek
0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2020-09-24 21:18 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2640 bytes --]
tree: git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds.git for-next
head: 47e64678cd6e7281f8817a632603086c4a5521ad
commit: d78b10f5713d92d494d2b1c10ef74fdc5ce8946e [61/70] leds: tca6507: use fwnode API instead of OF
config: x86_64-randconfig-a005-20200923 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project d6ac649ccda289ecc2d2c0cb51892d57e8ec328c)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout d78b10f5713d92d494d2b1c10ef74fdc5ce8946e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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/leds/leds-tca6507.c:750:34: warning: unused variable 'of_tca6507_leds_match' [-Wunused-const-variable]
static const struct of_device_id of_tca6507_leds_match[] = {
^
1 warning generated.
# https://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds.git/commit/?id=d78b10f5713d92d494d2b1c10ef74fdc5ce8946e
git remote add pavel-linux-leds git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds.git
git fetch --no-tags pavel-linux-leds for-next
git checkout d78b10f5713d92d494d2b1c10ef74fdc5ce8946e
vim +/of_tca6507_leds_match +750 drivers/leds/leds-tca6507.c
0c596a7ebb51b51 Marek Belisko 2012-11-30 749
0c596a7ebb51b51 Marek Belisko 2012-11-30 @750 static const struct of_device_id of_tca6507_leds_match[] = {
0c596a7ebb51b51 Marek Belisko 2012-11-30 751 { .compatible = "ti,tca6507", },
0c596a7ebb51b51 Marek Belisko 2012-11-30 752 {},
0c596a7ebb51b51 Marek Belisko 2012-11-30 753 };
4d59ed85451befd Javier Martinez Canillas 2015-08-25 754 MODULE_DEVICE_TABLE(of, of_tca6507_leds_match);
0c596a7ebb51b51 Marek Belisko 2012-11-30 755
:::::: The code at line 750 was first introduced by commit
:::::: 0c596a7ebb51b515b2d59a77b8cd37c5e98b1aa5 leds/tca6507: Add support for devicetree.
:::::: TO: Marek Belisko <marek.belisko@open-nandra.com>
:::::: CC: Bryan Wu <cooloney@gmail.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 36677 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-09-25 9:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-24 21:18 [pavel-linux-leds:for-next 61/70] drivers/leds/leds-tca6507.c:750:34: warning: unused variable 'of_tca6507_leds_match' kernel test robot
2020-09-25 9:27 ` Pavel Machek
2020-09-25 9:27 ` Pavel Machek
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.