Content-Type: multipart/mixed; boundary="===============0927886249295039924==" MIME-Version: 1.0 From: Jack Pham To: kbuild-all@lists.01.org Subject: Re: [PATCH v2 2/2] usb: gadget: f_uac2: Populate SS descriptors' wBytesPerInterval Date: Thu, 09 Sep 2021 10:40:22 -0700 Message-ID: <20210909174007.GC20111@jackp-linux.qualcomm.com> In-Reply-To: <202109100030.4qMPkRBj-lkp@intel.com> List-Id: --===============0927886249295039924== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Fri, Sep 10, 2021 at 01:08:02AM +0800, kernel test robot wrote: > Hi Jack, > = > Thank you for the 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 next-2= 0210909] > [cannot apply to v5.14] > [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/Jack-Pham/usb-gadget-f_u= ac2-Fixes-for-SuperSpeed/20210909-162955 > base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git us= b-testing > config: i386-randconfig-a016-20210908 (attached as .config) > compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 261c= be98c38f8c1ee1a482fe76511110e790f58a) > reproduce (this is a W=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://github.com/0day-ci/linux/commit/f262014b234c389fc10439b= 7c11aa10ea84270f6 > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Jack-Pham/usb-gadget-f_uac2-Fixe= s-for-SuperSpeed/20210909-162955 > git checkout f262014b234c389fc10439b7c11aa10ea84270f6 > # save the attached .config to linux build tree > mkdir build_dir > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross O= =3Dbuild_dir ARCH=3Di386 SHELL=3D/bin/bash > = > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > = > All errors (new ones prefixed by >>): > = > >> drivers/usb/gadget/function/f_uac2.c:1181:19: error: member reference = type 'struct usb_ss_ep_comp_descriptor' is not a pointer; did you mean to u= se '.'? > ss_epin_desc_comp->wBytesPerInterval =3D ss_epin_desc->wMaxPac= ketSize; > ~~~~~~~~~~~~~~~~~^~ > . > >> drivers/usb/gadget/function/f_uac2.c:1181:53: error: member reference = type 'struct usb_endpoint_descriptor' is not a pointer; did you mean to use= '.'? > ss_epin_desc_comp->wBytesPerInterval =3D ss_epin_desc->wMaxPac= ketSize; > ~~~~~~~~~~~~^~ > . > >> drivers/usb/gadget/function/f_uac2.c:1181:39: error: expression is not= assignable > ss_epin_desc_comp->wBytesPerInterval =3D ss_epin_desc->wMaxPac= ketSize; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ > drivers/usb/gadget/function/f_uac2.c:1182:20: error: member reference = type 'struct usb_ss_ep_comp_descriptor' is not a pointer; did you mean to u= se '.'? > ss_epout_desc_comp->wBytesPerInterval =3D ss_epout_desc->wMaxP= acketSize; > ~~~~~~~~~~~~~~~~~~^~ > . > drivers/usb/gadget/function/f_uac2.c:1182:55: error: member reference = type 'struct usb_endpoint_descriptor' is not a pointer; did you mean to use= '.'? > ss_epout_desc_comp->wBytesPerInterval =3D ss_epout_desc->wMaxP= acketSize; > ~~~~~~~~~~~~~^~ > . > drivers/usb/gadget/function/f_uac2.c:1182:40: error: expression is not= assignable > ss_epout_desc_comp->wBytesPerInterval =3D ss_epout_desc->wMaxP= acketSize; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ > 6 errors generated. DOH! Was wondering why this was working for me but failed to realize I was still loading an older build that had previous changes. Sorry for the noise!! V3 coming very soon. Jack -- = The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project --===============0927886249295039924==--