lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202205100408.icb8X7jy-lkp@intel.com>
Date:   Tue, 10 May 2022 04:54:36 +0800
From:   kernel test robot <lkp@...el.com>
To:     Alexander Shiyan <shc_work@...l.ru>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Lee Jones <lee.jones@...aro.org>
Subject: drivers/video/backlight/lp855x_bl.c:511:34: warning: 'lp855x_dt_ids'
 defined but not used

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@...el.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@...com>
:::::: CC: Linus Torvalds <torvalds@...ux-foundation.org>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ