* drivers/regulator/max20086-regulator.c:288:34: warning: 'max20086_dt_ids' defined but not used
@ 2022-05-30 13:43 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2022-05-30 13:43 UTC (permalink / raw)
To: Watson Chow; +Cc: kbuild-all, linux-kernel, Mark Brown, Laurent Pinchart
Hi Watson,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: b00ed48bb0a7c295facf9036135a573a5cdbe7de
commit: bfff546aae50ae68ed395bf0e0848188d27b0ba3 regulator: Add MAX20086-MAX20089 driver
date: 5 months ago
config: x86_64-buildonly-randconfig-r002-20220530 (https://download.01.org/0day-ci/archive/20220530/202205302156.U6VFwn3R-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-1) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bfff546aae50ae68ed395bf0e0848188d27b0ba3
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout bfff546aae50ae68ed395bf0e0848188d27b0ba3
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/regulator/ kernel/bpf/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/regulator/max20086-regulator.c:288:34: warning: 'max20086_dt_ids' defined but not used [-Wunused-const-variable=]
288 | static const struct of_device_id max20086_dt_ids[] = {
| ^~~~~~~~~~~~~~~
vim +/max20086_dt_ids +288 drivers/regulator/max20086-regulator.c
287
> 288 static const struct of_device_id max20086_dt_ids[] = {
289 {
290 .compatible = "maxim,max20086",
291 .data = &(const struct max20086_chip_info) {
292 .id = MAX20086_DEVICE_ID_MAX20086,
293 .num_outputs = 4,
294 }
295 }, {
296 .compatible = "maxim,max20087",
297 .data = &(const struct max20086_chip_info) {
298 .id = MAX20086_DEVICE_ID_MAX20087,
299 .num_outputs = 4,
300 }
301 }, {
302 .compatible = "maxim,max20088",
303 .data = &(const struct max20086_chip_info) {
304 .id = MAX20086_DEVICE_ID_MAX20088,
305 .num_outputs = 2,
306 }
307 }, {
308 .compatible = "maxim,max20089",
309 .data = &(const struct max20086_chip_info) {
310 .id = MAX20086_DEVICE_ID_MAX20089,
311 .num_outputs = 2,
312 }
313 },
314 { /* Sentinel */ },
315 };
316
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 3+ messages in thread
* drivers/regulator/max20086-regulator.c:288:34: warning: 'max20086_dt_ids' defined but not used
@ 2022-06-12 23:08 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2022-06-12 23:08 UTC (permalink / raw)
To: Watson Chow; +Cc: kbuild-all, linux-kernel, Mark Brown, Laurent Pinchart
Hi Watson,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 997952851843935024962b51fc36c61b3c2d1ed4
commit: bfff546aae50ae68ed395bf0e0848188d27b0ba3 regulator: Add MAX20086-MAX20089 driver
date: 5 months ago
config: i386-randconfig-r012-20220613 (https://download.01.org/0day-ci/archive/20220613/202206130733.bcMd66i2-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bfff546aae50ae68ed395bf0e0848188d27b0ba3
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout bfff546aae50ae68ed395bf0e0848188d27b0ba3
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/regulator/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/regulator/max20086-regulator.c:288:34: warning: 'max20086_dt_ids' defined but not used [-Wunused-const-variable=]
288 | static const struct of_device_id max20086_dt_ids[] = {
| ^~~~~~~~~~~~~~~
vim +/max20086_dt_ids +288 drivers/regulator/max20086-regulator.c
287
> 288 static const struct of_device_id max20086_dt_ids[] = {
289 {
290 .compatible = "maxim,max20086",
291 .data = &(const struct max20086_chip_info) {
292 .id = MAX20086_DEVICE_ID_MAX20086,
293 .num_outputs = 4,
294 }
295 }, {
296 .compatible = "maxim,max20087",
297 .data = &(const struct max20086_chip_info) {
298 .id = MAX20086_DEVICE_ID_MAX20087,
299 .num_outputs = 4,
300 }
301 }, {
302 .compatible = "maxim,max20088",
303 .data = &(const struct max20086_chip_info) {
304 .id = MAX20086_DEVICE_ID_MAX20088,
305 .num_outputs = 2,
306 }
307 }, {
308 .compatible = "maxim,max20089",
309 .data = &(const struct max20086_chip_info) {
310 .id = MAX20086_DEVICE_ID_MAX20089,
311 .num_outputs = 2,
312 }
313 },
314 { /* Sentinel */ },
315 };
316
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 3+ messages in thread
* drivers/regulator/max20086-regulator.c:288:34: warning: 'max20086_dt_ids' defined but not used
@ 2022-08-15 7:12 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2022-08-15 7:12 UTC (permalink / raw)
To: Watson Chow; +Cc: kbuild-all, linux-kernel, Mark Brown, Laurent Pinchart
Hi Watson,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 568035b01cfb107af8d2e4bd2fb9aea22cf5b868
commit: bfff546aae50ae68ed395bf0e0848188d27b0ba3 regulator: Add MAX20086-MAX20089 driver
date: 7 months ago
config: i386-randconfig-r033-20220815 (https://download.01.org/0day-ci/archive/20220815/202208151511.x4nxpkcQ-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bfff546aae50ae68ed395bf0e0848188d27b0ba3
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout bfff546aae50ae68ed395bf0e0848188d27b0ba3
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/regulator/max20086-regulator.c:288:34: warning: 'max20086_dt_ids' defined but not used [-Wunused-const-variable=]
288 | static const struct of_device_id max20086_dt_ids[] = {
| ^~~~~~~~~~~~~~~
vim +/max20086_dt_ids +288 drivers/regulator/max20086-regulator.c
287
> 288 static const struct of_device_id max20086_dt_ids[] = {
289 {
290 .compatible = "maxim,max20086",
291 .data = &(const struct max20086_chip_info) {
292 .id = MAX20086_DEVICE_ID_MAX20086,
293 .num_outputs = 4,
294 }
295 }, {
296 .compatible = "maxim,max20087",
297 .data = &(const struct max20086_chip_info) {
298 .id = MAX20086_DEVICE_ID_MAX20087,
299 .num_outputs = 4,
300 }
301 }, {
302 .compatible = "maxim,max20088",
303 .data = &(const struct max20086_chip_info) {
304 .id = MAX20086_DEVICE_ID_MAX20088,
305 .num_outputs = 2,
306 }
307 }, {
308 .compatible = "maxim,max20089",
309 .data = &(const struct max20086_chip_info) {
310 .id = MAX20086_DEVICE_ID_MAX20089,
311 .num_outputs = 2,
312 }
313 },
314 { /* Sentinel */ },
315 };
316
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-08-15 7:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-12 23:08 drivers/regulator/max20086-regulator.c:288:34: warning: 'max20086_dt_ids' defined but not used kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2022-08-15 7:12 kernel test robot
2022-05-30 13:43 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