* [sashal-linux-stable:queue-4.9 28/30] drivers/usb/dwc3/core.c:941:2: error: implicit declaration of function 'dwc3_set_prtcap'; did you mean 'dwc3_set_mode'?
@ 2020-02-04 1:45 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-02-04 1:45 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1817 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-4.9
head: 68f5364d258264ad75938456bd8786db58360d75
commit: c7f515e8d7400227fcbbcafa420661f093947f1f [28/30] usb: dwc3: turn off VBUS when leaving host mode
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.5.0-3) 7.5.0
reproduce:
git checkout c7f515e8d7400227fcbbcafa420661f093947f1f
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/usb/dwc3/core.c: In function 'dwc3_core_exit_mode':
>> drivers/usb/dwc3/core.c:941:2: error: implicit declaration of function 'dwc3_set_prtcap'; did you mean 'dwc3_set_mode'? [-Werror=implicit-function-declaration]
dwc3_set_prtcap(dwc, DWC3_GCTL_PRTCAP_DEVICE);
^~~~~~~~~~~~~~~
dwc3_set_mode
cc1: some warnings being treated as errors
vim +941 drivers/usb/dwc3/core.c
921
922 static void dwc3_core_exit_mode(struct dwc3 *dwc)
923 {
924 switch (dwc->dr_mode) {
925 case USB_DR_MODE_PERIPHERAL:
926 dwc3_gadget_exit(dwc);
927 break;
928 case USB_DR_MODE_HOST:
929 dwc3_host_exit(dwc);
930 break;
931 case USB_DR_MODE_OTG:
932 dwc3_host_exit(dwc);
933 dwc3_gadget_exit(dwc);
934 break;
935 default:
936 /* do nothing */
937 break;
938 }
939
940 /* de-assert DRVVBUS for HOST and OTG mode */
> 941 dwc3_set_prtcap(dwc, DWC3_GCTL_PRTCAP_DEVICE);
942 }
943
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 55459 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-04 1:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-04 1:45 [sashal-linux-stable:queue-4.9 28/30] drivers/usb/dwc3/core.c:941:2: error: implicit declaration of function 'dwc3_set_prtcap'; did you mean 'dwc3_set_mode'? kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.