All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/media/i2c/hi846.c:2169:34: warning: unused variable 'hi846_of_match'
@ 2021-11-04  9:19 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-04  9:19 UTC (permalink / raw)
  To: Martin Kepplinger
  Cc: llvm, kbuild-all, linux-kernel, Mauro Carvalho Chehab,
	linux-media, Pavel Machek, Sakari Ailus

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

Hi Martin,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   7ddb58cb0ecae8e8b6181d736a87667cc9ab8389
commit: e8c0882685f9152f0d729664a12bcbe749cb7736 media: i2c: add driver for the SK Hynix Hi-846 8M pixel camera
date:   4 weeks ago
config: x86_64-randconfig-r035-20211103 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 264d3b6d4e08401c5b50a85bd76e80b3461d77e6)
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=e8c0882685f9152f0d729664a12bcbe749cb7736
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout e8c0882685f9152f0d729664a12bcbe749cb7736
        # 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/media/i2c/hi846.c:2169:34: warning: unused variable 'hi846_of_match' [-Wunused-const-variable]
   static const struct of_device_id hi846_of_match[] = {
                                    ^
   1 warning generated.


vim +/hi846_of_match +2169 drivers/media/i2c/hi846.c

  2168	
> 2169	static const struct of_device_id hi846_of_match[] = {
  2170		{ .compatible = "hynix,hi846", },
  2171		{},
  2172	};
  2173	MODULE_DEVICE_TABLE(of, hi846_of_match);
  2174	

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

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

* drivers/media/i2c/hi846.c:2169:34: warning: unused variable 'hi846_of_match'
@ 2021-11-04  9:19 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-04  9:19 UTC (permalink / raw)
  To: kbuild-all

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

Hi Martin,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   7ddb58cb0ecae8e8b6181d736a87667cc9ab8389
commit: e8c0882685f9152f0d729664a12bcbe749cb7736 media: i2c: add driver for the SK Hynix Hi-846 8M pixel camera
date:   4 weeks ago
config: x86_64-randconfig-r035-20211103 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 264d3b6d4e08401c5b50a85bd76e80b3461d77e6)
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=e8c0882685f9152f0d729664a12bcbe749cb7736
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout e8c0882685f9152f0d729664a12bcbe749cb7736
        # 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/media/i2c/hi846.c:2169:34: warning: unused variable 'hi846_of_match' [-Wunused-const-variable]
   static const struct of_device_id hi846_of_match[] = {
                                    ^
   1 warning generated.


vim +/hi846_of_match +2169 drivers/media/i2c/hi846.c

  2168	
> 2169	static const struct of_device_id hi846_of_match[] = {
  2170		{ .compatible = "hynix,hi846", },
  2171		{},
  2172	};
  2173	MODULE_DEVICE_TABLE(of, hi846_of_match);
  2174	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 38137 bytes --]

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

end of thread, other threads:[~2021-11-04  9:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-04  9:19 drivers/media/i2c/hi846.c:2169:34: warning: unused variable 'hi846_of_match' kernel test robot
2021-11-04  9:19 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.