[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150915.132742.739418011603329556.davem@davemloft.net>
Date: Tue, 15 Sep 2015 13:27:42 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: fengguang.wu@...el.com
Cc: oneukum@...e.com, kbuild-all@...org, netdev@...r.kernel.org
Subject: Re: [net-next:master 6/12] include/linux/usb/cdc.h:23: error:
redefinition of 'struct usb_cdc_parsed_header'
From: kbuild test robot <fengguang.wu@...el.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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists