[linux-next:master 6253/8410] drivers/media/i2c/hi846.c:2169:34: warning: unused variable 'hi846_of_match'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   7c832d2f9b959e3181370c8b0dacaf9efe13fc05
commit: e8c0882685f9152f0d729664a12bcbe749cb7736 [6253/8410] media: i2c: add driver for the SK Hynix Hi-846 8M pixel camera
config: i386-randconfig-r016-20211016 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 8ca4b3ef19fe82d7ad6a6e1515317dcc01b41515)
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/next/linux-next.git/commit/?id=e8c0882685f9152f0d729664a12bcbe749cb7736
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout e8c0882685f9152f0d729664a12bcbe749cb7736
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

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@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux