From: kbuild test robot <fengguang...@intel.com> Date: Wed, 16 Sep 2015 03:57:11 +0800
> All error/warnings (new ones prefixed by >>): > > In file included from drivers/usb/gadget/function/u_ether.h:20, > from drivers/usb/gadget/legacy/cdc2.c:16: > include/linux/usb/cdc.h:47: warning: 'struct usb_interface' declared > inside parameter list > include/linux/usb/cdc.h:47: warning: its scope is only this definition or > declaration, which is probably not what you want > In file included from drivers/usb/gadget/function/u_serial.h:16, > from drivers/usb/gadget/legacy/cdc2.c:17: >>> include/linux/usb/cdc.h:23: error: redefinition of 'struct >>> usb_cdc_parsed_header' > include/linux/usb/cdc.h:47: warning: 'struct usb_interface' declared > inside parameter list >>> include/linux/usb/cdc.h:47: error: conflicting types for >>> 'cdc_parse_cdc_header' > include/linux/usb/cdc.h:47: error: previous declaration of > 'cdc_parse_cdc_header' was here This may be a side effect of the initial warning, does this reproduce with that fixed? Please show me what the warning looks like in that case. Thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html