linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [hverkuil-media-tree:hdmi-dbg 19/22] drivers/media/i2c/cat24c208.c:415:34: warning: unused variable 'cat24c208_of_match'
@ 2022-06-01  3:21 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-06-01  3:21 UTC (permalink / raw)
  To: Jonathan Selnes; +Cc: llvm, kbuild-all, linux-kernel, Hans Verkuil

tree:   git://linuxtv.org/hverkuil/media_tree.git hdmi-dbg
head:   fd8fe971a032c4dbc6e8b955f946d710d86fa856
commit: 5778f4cf22e6d23d9881fb9121714cc7216b181c [19/22] cat24c208: driver for the cat24c208 EDID EEPROM
config: hexagon-randconfig-r032-20220531 (https://download.01.org/0day-ci/archive/20220601/202206011127.bbncUkYc-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c825abd6b0198fb088d9752f556a70705bc99dfd)
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
        git remote add hverkuil-media-tree git://linuxtv.org/hverkuil/media_tree.git
        git fetch --no-tags hverkuil-media-tree hdmi-dbg
        git checkout 5778f4cf22e6d23d9881fb9121714cc7216b181c
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/media/i2c/

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/media/i2c/cat24c208.c:415:34: warning: unused variable 'cat24c208_of_match' [-Wunused-const-variable]
   static const struct of_device_id cat24c208_of_match[] = {
                                    ^
   1 warning generated.


vim +/cat24c208_of_match +415 drivers/media/i2c/cat24c208.c

   414	
 > 415	static const struct of_device_id cat24c208_of_match[] = {
   416		{ .compatible = "onsemi,cat24c208"},
   417		{}
   418	};
   419	MODULE_DEVICE_TABLE(of, cat24c208_of_match);
   420	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-01  3:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-01  3:21 [hverkuil-media-tree:hdmi-dbg 19/22] drivers/media/i2c/cat24c208.c:415:34: warning: unused variable 'cat24c208_of_match' 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).