Re: [PATCH v4 1/1] media: ovm6211: Adds support for OVM6211

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

 



Hi Petko,

I love your patch! Perhaps something to improve:

[auto build test WARNING on 68b9bcc8a534cd11fe55f8bc82f948aae7d81b3c]

url:    https://github.com/0day-ci/linux/commits/Petko-Manolov/media-ovm6211-Adds-support-for-OVM6211/20220123-222248
base:   68b9bcc8a534cd11fe55f8bc82f948aae7d81b3c
config: i386-randconfig-a013-20220124 (https://download.01.org/0day-ci/archive/20220124/202201240216.kRT3o6Zf-lkp@xxxxxxxxx/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 7b3d30728816403d1fd73cc5082e9fb761262bce)
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://github.com/0day-ci/linux/commit/87974226cae497656ad966fa391207ce1426615b
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Petko-Manolov/media-ovm6211-Adds-support-for-OVM6211/20220123-222248
        git checkout 87974226cae497656ad966fa391207ce1426615b
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/media/i2c/

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/ovm6211.c:1007:35: warning: unused variable 'ovm6211_id' [-Wunused-const-variable]
   static const struct i2c_device_id ovm6211_id[] = {
                                     ^
   1 warning generated.


vim +/ovm6211_id +1007 drivers/media/i2c/ovm6211.c

  1006	
> 1007	static const struct i2c_device_id ovm6211_id[] = {
  1008		{ "ovm6211", 0 },
  1009		{},
  1010	};
  1011	MODULE_DEVICE_TABLE(i2c, ovm6211_id);
  1012	

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



[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