Re: [PATCH] media: ov5640: add support of 160x120 resolution

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

 



Hi Hugues,

I love your patch! Perhaps something to improve:

[auto build test WARNING on linuxtv-media/master]
[also build test WARNING on v5.9-rc8 next-20201007]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Hugues-Fruchet/media-ov5640-add-support-of-160x120-resolution/20201007-191213
base:   git://linuxtv.org/media_tree.git master
config: x86_64-randconfig-r032-20201005 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 4d1d8ae7100ec3c7e1709addb7b3ec6f9ad0b44f)
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
        # https://github.com/0day-ci/linux/commit/457f07916fe31745cdcdcc5bfb011559a68c8b87
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Hugues-Fruchet/media-ov5640-add-support-of-160x120-resolution/20201007-191213
        git checkout 457f07916fe31745cdcdcc5bfb011559a68c8b87
        # 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@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> drivers/media/i2c/ov5640.c:420:31: warning: unused variable 'ov5640_setting_QQVGA_160_120' [-Wunused-const-variable]
   static const struct reg_value ov5640_setting_QQVGA_160_120[] = {
                                 ^
   1 warning generated.

vim +/ov5640_setting_QQVGA_160_120 +420 drivers/media/i2c/ov5640.c

   419	
 > 420	static const struct reg_value ov5640_setting_QQVGA_160_120[] = {
   421		{0x3c07, 0x08, 0, 0},
   422		{0x3c09, 0x1c, 0, 0}, {0x3c0a, 0x9c, 0, 0}, {0x3c0b, 0x40, 0, 0},
   423		{0x3814, 0x31, 0, 0},
   424		{0x3815, 0x31, 0, 0}, {0x3800, 0x00, 0, 0}, {0x3801, 0x00, 0, 0},
   425		{0x3802, 0x00, 0, 0}, {0x3803, 0x04, 0, 0}, {0x3804, 0x0a, 0, 0},
   426		{0x3805, 0x3f, 0, 0}, {0x3806, 0x07, 0, 0}, {0x3807, 0x9b, 0, 0},
   427		{0x3810, 0x00, 0, 0},
   428		{0x3811, 0x10, 0, 0}, {0x3812, 0x00, 0, 0}, {0x3813, 0x06, 0, 0},
   429		{0x3618, 0x00, 0, 0}, {0x3612, 0x29, 0, 0}, {0x3708, 0x64, 0, 0},
   430		{0x3709, 0x52, 0, 0}, {0x370c, 0x03, 0, 0}, {0x3a02, 0x03, 0, 0},
   431		{0x3a03, 0xd8, 0, 0}, {0x3a08, 0x01, 0, 0}, {0x3a09, 0x27, 0, 0},
   432		{0x3a0a, 0x00, 0, 0}, {0x3a0b, 0xf6, 0, 0}, {0x3a0e, 0x03, 0, 0},
   433		{0x3a0d, 0x04, 0, 0}, {0x3a14, 0x03, 0, 0}, {0x3a15, 0xd8, 0, 0},
   434		{0x4001, 0x02, 0, 0}, {0x4004, 0x02, 0, 0},
   435		{0x4407, 0x04, 0, 0}, {0x5001, 0xa3, 0, 0},
   436	};
   437	

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