* drivers/power/supply/ltc4162-l-charger.c:912:34: warning: unused variable 'ltc4162l_of_match'
@ 2021-09-27 21:28 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-27 21:28 UTC (permalink / raw)
To: Mike Looijmans; +Cc: llvm, kbuild-all, linux-kernel, Sebastian Reichel
[-- Attachment #1: Type: text/plain, Size: 1834 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 92477dd1faa650e50bd3bb35a6c0b8d09198cc35
commit: cd900f181ad6b548a8feded5dd224f789f09b1c6 power/supply: Add ltc4162-l-charger
date: 9 months ago
config: x86_64-randconfig-a002-20210928 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dc6e8dfdfe7efecfda318d43a06fae18b40eb498)
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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cd900f181ad6b548a8feded5dd224f789f09b1c6
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout cd900f181ad6b548a8feded5dd224f789f09b1c6
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 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/power/supply/ltc4162-l-charger.c:912:34: warning: unused variable 'ltc4162l_of_match' [-Wunused-const-variable]
static const struct of_device_id ltc4162l_of_match[] = {
^
1 warning generated.
vim +/ltc4162l_of_match +912 drivers/power/supply/ltc4162-l-charger.c
911
> 912 static const struct of_device_id ltc4162l_of_match[] = {
913 { .compatible = "lltc,ltc4162-l", },
914 { },
915 };
916 MODULE_DEVICE_TABLE(of, ltc4162l_of_match);
917
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 33047 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* drivers/power/supply/ltc4162-l-charger.c:912:34: warning: unused variable 'ltc4162l_of_match'
@ 2021-11-06 16:14 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-06 16:14 UTC (permalink / raw)
To: Mike Looijmans; +Cc: llvm, kbuild-all, linux-kernel, Sebastian Reichel
[-- Attachment #1: Type: text/plain, Size: 1884 bytes --]
Hi Mike,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: fe91c4725aeed35023ba4f7a1e1adfebb6878c23
commit: cd900f181ad6b548a8feded5dd224f789f09b1c6 power/supply: Add ltc4162-l-charger
date: 10 months ago
config: x86_64-randconfig-a002-20210928 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dc6e8dfdfe7efecfda318d43a06fae18b40eb498)
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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cd900f181ad6b548a8feded5dd224f789f09b1c6
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout cd900f181ad6b548a8feded5dd224f789f09b1c6
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 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/power/supply/ltc4162-l-charger.c:912:34: warning: unused variable 'ltc4162l_of_match' [-Wunused-const-variable]
static const struct of_device_id ltc4162l_of_match[] = {
^
1 warning generated.
vim +/ltc4162l_of_match +912 drivers/power/supply/ltc4162-l-charger.c
911
> 912 static const struct of_device_id ltc4162l_of_match[] = {
913 { .compatible = "lltc,ltc4162-l", },
914 { },
915 };
916 MODULE_DEVICE_TABLE(of, ltc4162l_of_match);
917
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32936 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-06 16:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-06 16:14 drivers/power/supply/ltc4162-l-charger.c:912:34: warning: unused variable 'ltc4162l_of_match' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2021-09-27 21:28 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