Re: [PATCH] usb: dwc2: gadget: Update for new usb_endpoint_maxp()

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

 



Hi Vardan,

[auto build test ERROR on balbi-usb/next]
[also build test ERROR on v4.9-rc3 next-20161028]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:    https://github.com/0day-ci/linux/commits/John-Youn/usb-dwc2-gadget-Update-for-new-usb_endpoint_maxp/20161101-052727
base:   https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git next
config: x86_64-randconfig-x014-201644 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/usb/dwc2/gadget.c: In function 'dwc2_hsotg_ep_enable':
>> drivers/usb/dwc2/gadget.c:2979:7: error: implicit declaration of function 'usb_endpoint_maxp_mult' [-Werror=implicit-function-declaration]
     mc = usb_endpoint_maxp_mult(desc);
          ^~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/usb_endpoint_maxp_mult +2979 drivers/usb/dwc2/gadget.c

  2973		if (dir_in != hs_ep->dir_in) {
  2974			dev_err(hsotg->dev, "%s: direction mismatch!\n", __func__);
  2975			return -EINVAL;
  2976		}
  2977	
  2978		mps = usb_endpoint_maxp(desc);
> 2979		mc = usb_endpoint_maxp_mult(desc);
  2980	
  2981		/* note, we handle this here instead of dwc2_hsotg_set_ep_maxpacket */
  2982	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux