lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202103151658.HQA025q1-lkp@intel.com>
Date:   Mon, 15 Mar 2021 16:07:18 +0800
From:   kernel test robot <lkp@...el.com>
To:     Pawel Laszczak <pawell@...ence.com>, balbi@...nel.org,
        gregkh@...uxfoundation.org
Cc:     kbuild-all@...ts.01.org, linux-api@...r.kernel.org,
        laurent.pinchart@...asonboard.com, linux-usb@...r.kernel.org,
        linux-kernel@...r.kernel.org, peter.chen@...nel.org,
        kurahul@...ence.com, Pawel Laszczak <pawell@...ence.com>
Subject: Re: [PATCH v3 2/2] usb: webcam: Invalid size of Processing Unit
 Descriptor

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@...el.com>

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@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (41726 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ