linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* drivers/mfd/khadas-mcu.c:125:34: warning: unused variable 'khadas_mcu_of_match'
@ 2020-08-18 13:47 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-08-18 13:47 UTC (permalink / raw)
  To: Neil Armstrong; +Cc: kbuild-all, clang-built-linux, linux-kernel, Lee Jones

[-- Attachment #1: Type: text/plain, Size: 2021 bytes --]

Hi Neil,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   06a4ec1d9dc652e17ee3ac2ceb6c7cf6c2b75cdd
commit: 6c27219e34911601955b72c754adfc11c527ba7b mfd: Add support for the Khadas System control Microcontroller
date:   9 weeks ago
config: x86_64-randconfig-r006-20200818 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 790878f291fa5dc58a1c560cb6cc76fd1bfd1c5a)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git checkout 6c27219e34911601955b72c754adfc11c527ba7b
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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/mfd/khadas-mcu.c:125:34: warning: unused variable 'khadas_mcu_of_match' [-Wunused-const-variable]
   static const struct of_device_id khadas_mcu_of_match[] = {
                                    ^
   1 warning generated.

# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6c27219e34911601955b72c754adfc11c527ba7b
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 6c27219e34911601955b72c754adfc11c527ba7b
vim +/khadas_mcu_of_match +125 drivers/mfd/khadas-mcu.c

   124	
 > 125	static const struct of_device_id khadas_mcu_of_match[] = {
   126		{ .compatible = "khadas,mcu", },
   127		{},
   128	};
   129	MODULE_DEVICE_TABLE(of, khadas_mcu_of_match);
   130	

---
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: 42689 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* drivers/mfd/khadas-mcu.c:125:34: warning: unused variable 'khadas_mcu_of_match'
@ 2020-08-16 14:02 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-08-16 14:02 UTC (permalink / raw)
  To: Neil Armstrong; +Cc: kbuild-all, clang-built-linux, linux-kernel, Lee Jones

[-- Attachment #1: Type: text/plain, Size: 1972 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   4b6c093e21d36bede0fd88fd0aeb3b03647260e4
commit: 6c27219e34911601955b72c754adfc11c527ba7b mfd: Add support for the Khadas System control Microcontroller
date:   8 weeks ago
config: x86_64-randconfig-r034-20200816 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project ab9fc8bae805c785066779e76e7846aabad5609e)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git checkout 6c27219e34911601955b72c754adfc11c527ba7b
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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/mfd/khadas-mcu.c:125:34: warning: unused variable 'khadas_mcu_of_match' [-Wunused-const-variable]
   static const struct of_device_id khadas_mcu_of_match[] = {
                                    ^
   1 warning generated.

# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6c27219e34911601955b72c754adfc11c527ba7b
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 6c27219e34911601955b72c754adfc11c527ba7b
vim +/khadas_mcu_of_match +125 drivers/mfd/khadas-mcu.c

   124	
 > 125	static const struct of_device_id khadas_mcu_of_match[] = {
   126		{ .compatible = "khadas,mcu", },
   127		{},
   128	};
   129	MODULE_DEVICE_TABLE(of, khadas_mcu_of_match);
   130	

---
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: 37668 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-18 13:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-18 13:47 drivers/mfd/khadas-mcu.c:125:34: warning: unused variable 'khadas_mcu_of_match' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2020-08-16 14:02 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).