Re: [PATCH v3 2/2] usb: webcam: Invalid size of Processing Unit Descriptor

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

 



Hi Pawel,

I love your patch! Yet something to improve:

[auto build test ERROR on usb/usb-testing]
[also build test ERROR on peter.chen-usb/for-usb-next linus/master balbi-usb/testing/next v5.12-rc3 next-20210315]
[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/Pawel-Laszczak/usb-gadget-uvc-Updating-bcdUVC-field-to-0x0110/20210315-150207
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
config: xtensa-randconfig-r004-20210315 (attached as .config)
compiler: xtensa-linux-gcc (GCC) 9.3.0
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/02bcbb1b029ca0cc6dd33c70363125bc2f3ce0d2
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Pawel-Laszczak/usb-gadget-uvc-Updating-bcdUVC-field-to-0x0110/20210315-150207
        git checkout 02bcbb1b029ca0cc6dd33c70363125bc2f3ce0d2
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=xtensa 

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

All errors (new ones prefixed by >>):

>> drivers/usb/gadget/legacy/webcam.c:128:3: error: 'const struct uvc_processing_unit_descriptor' has no member named 'bmVideoStandrads'; did you mean 'bmVideoStandards'?
     128 |  .bmVideoStandrads = 0,
         |   ^~~~~~~~~~~~~~~~
         |   bmVideoStandards


vim +128 drivers/usb/gadget/legacy/webcam.c

   116	
   117	static const struct uvc_processing_unit_descriptor uvc_processing = {
   118		.bLength		= UVC_DT_PROCESSING_UNIT_SIZE(2),
   119		.bDescriptorType	= USB_DT_CS_INTERFACE,
   120		.bDescriptorSubType	= UVC_VC_PROCESSING_UNIT,
   121		.bUnitID		= 2,
   122		.bSourceID		= 1,
   123		.wMaxMultiplier		= cpu_to_le16(16*1024),
   124		.bControlSize		= 2,
   125		.bmControls[0]		= 1,
   126		.bmControls[1]		= 0,
   127		.iProcessing		= 0,
 > 128		.bmVideoStandrads	= 0,
   129	};
   130	

---
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 USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux