lkml.org 
[lkml]   [2017]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 3/3] usb: dwc3: Add dual-role support
Hi Roger,

[auto build test ERROR on balbi-usb/next]
[also build test ERROR on v4.11-rc5 next-20170403]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Roger-Quadros/usb-dwc3-dual-role-support/20170404-022401
base: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git next
config: i386-randconfig-x010-201714 (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=i386

All error/warnings (new ones prefixed by >>):

In file included from drivers/usb/dwc3/core.c:44:0:
>> drivers/usb/dwc3/core.h:1243:1: error: expected identifier or '(' before '{' token
{ }
^
>> drivers/usb/dwc3/core.h:1242:13: warning: 'dwc3_drd_exit' used but never defined
static void dwc3_drd_exit(struct dwc3 *dwc);
^~~~~~~~~~~~~
--
In file included from drivers/usb/dwc3/trace.h:27:0,
from drivers/usb/dwc3/trace.c:19:
>> drivers/usb/dwc3/core.h:1243:1: error: expected identifier or '(' before '{' token
{ }
^
In file included from drivers/usb/dwc3/trace.h:27:0,
from drivers/usb/dwc3/trace.c:19:
drivers/usb/dwc3/core.h:1242:13: warning: 'dwc3_drd_exit' declared 'static' but never defined [-Wunused-function]
static void dwc3_drd_exit(struct dwc3 *dwc);
^~~~~~~~~~~~~

vim +1243 drivers/usb/dwc3/core.h

1236 #if IS_ENABLED(CONFIG_USB_DWC3_DUAL_ROLE)
1237 int dwc3_drd_init(struct dwc3 *dwc);
1238 void dwc3_drd_exit(struct dwc3 *dwc);
1239 #else
1240 static inline int dwc3_drd_init(struct dwc3 *dwc)
1241 { return 0; }
> 1242 static void dwc3_drd_exit(struct dwc3 *dwc);
> 1243 { }
1244 #endif
1245
1246 /* power management interface */

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2017-04-03 21:22    [W:0.113 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site