linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* drivers/video/backlight/lp855x_bl.c:511:34: warning: 'lp855x_dt_ids' defined but not used
@ 2022-05-09 20:54 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-05-09 20:54 UTC (permalink / raw)
  To: Alexander Shiyan; +Cc: kbuild-all, linux-kernel, Lee Jones

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9be9ed2612b5aedb52a2c240edb1630b6b743cb6
commit: 8c5dc8d9f19c7992b5ed557b865127a80149041b video: backlight: Remove useless BACKLIGHT_LCD_SUPPORT kernel symbol
date:   3 years, 1 month ago
config: i386-randconfig-a016-20220509 (https://download.01.org/0day-ci/archive/20220510/202205100408.icb8X7jy-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=8c5dc8d9f19c7992b5ed557b865127a80149041b
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 8c5dc8d9f19c7992b5ed557b865127a80149041b
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/video/backlight/

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/video/backlight/lp855x_bl.c:511:34: warning: 'lp855x_dt_ids' defined but not used [-Wunused-const-variable=]
     511 | static const struct of_device_id lp855x_dt_ids[] = {
         |                                  ^~~~~~~~~~~~~


vim +/lp855x_dt_ids +511 drivers/video/backlight/lp855x_bl.c

7be865ab8634d4 Kim, Milo 2012-03-23  510  
4add06645a0be0 Kim, Milo 2013-04-29 @511  static const struct of_device_id lp855x_dt_ids[] = {
4add06645a0be0 Kim, Milo 2013-04-29  512  	{ .compatible = "ti,lp8550", },
4add06645a0be0 Kim, Milo 2013-04-29  513  	{ .compatible = "ti,lp8551", },
4add06645a0be0 Kim, Milo 2013-04-29  514  	{ .compatible = "ti,lp8552", },
4add06645a0be0 Kim, Milo 2013-04-29  515  	{ .compatible = "ti,lp8553", },
5812c13a4e636d Milo Kim  2013-11-12  516  	{ .compatible = "ti,lp8555", },
4add06645a0be0 Kim, Milo 2013-04-29  517  	{ .compatible = "ti,lp8556", },
4add06645a0be0 Kim, Milo 2013-04-29  518  	{ .compatible = "ti,lp8557", },
4add06645a0be0 Kim, Milo 2013-04-29  519  	{ }
4add06645a0be0 Kim, Milo 2013-04-29  520  };
4add06645a0be0 Kim, Milo 2013-04-29  521  MODULE_DEVICE_TABLE(of, lp855x_dt_ids);
4add06645a0be0 Kim, Milo 2013-04-29  522  

:::::: The code at line 511 was first introduced by commit
:::::: 4add06645a0be0519030705e3076e1a5ceba7477 backlight: lp855x: add a device tree structure

:::::: TO: Kim, Milo <Milo.Kim@ti.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.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-09 20:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-09 20:54 drivers/video/backlight/lp855x_bl.c:511:34: warning: 'lp855x_dt_ids' defined but not used kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).