mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Alexander Shiyan <shc_work@mail.ru>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Lee Jones <lee.jones@linaro.org>
Subject: drivers/video/backlight/lp855x_bl.c:511:34: warning: 'lp855x_dt_ids' defined but not used
Date: Tue, 10 May 2022 04:54:36 +0800	[thread overview]
Message-ID: <202205100408.icb8X7jy-lkp@intel.com> (raw)

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

                 reply	other threads:[~2022-05-09 20:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202205100408.icb8X7jy-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=lee.jones@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shc_work@mail.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®