Re: [PATCH] USB: core: fix missing include

2016-06-16 Thread Peter Chen
On Thu, Jun 16, 2016 at 02:02:37PM +0100, Ben Dooks wrote: > On 14/06/16 12:08, Arnd Bergmann wrote: > > On Wednesday, June 8, 2016 3:04:27 AM CEST kbuild test robot wrote: > drivers/usb/core/of.c:32:21: error: redefinition of > 'usb_of_get_child_node' > >> struct device_node *usb_of

Re: [PATCH] USB: core: fix missing include

2016-06-16 Thread Ben Dooks
On 14/06/16 12:08, Arnd Bergmann wrote: > On Wednesday, June 8, 2016 3:04:27 AM CEST kbuild test robot wrote: drivers/usb/core/of.c:32:21: error: redefinition of 'usb_of_get_child_node' >> struct device_node *usb_of_get_child_node(struct device_node *parent, >> ^~~~

Re: [PATCH] USB: core: fix missing include

2016-06-16 Thread Ben Dooks
On 15/06/16 03:43, Peter Chen wrote: > On Tue, Jun 14, 2016 at 01:08:08PM +0200, Arnd Bergmann wrote: >> On Wednesday, June 8, 2016 3:04:27 AM CEST kbuild test robot wrote: > drivers/usb/core/of.c:32:21: error: redefinition of > 'usb_of_get_child_node' >>> struct device_node *usb_of_ge

Re: [PATCH] USB: core: fix missing include

2016-06-14 Thread Peter Chen
On Tue, Jun 14, 2016 at 01:08:08PM +0200, Arnd Bergmann wrote: > On Wednesday, June 8, 2016 3:04:27 AM CEST kbuild test robot wrote: > > >> drivers/usb/core/of.c:32:21: error: redefinition of > > >> 'usb_of_get_child_node' > > struct device_node *usb_of_get_child_node(struct device_node *paren

Re: [PATCH] USB: core: fix missing include

2016-06-14 Thread Arnd Bergmann
On Wednesday, June 8, 2016 3:04:27 AM CEST kbuild test robot wrote: > >> drivers/usb/core/of.c:32:21: error: redefinition of 'usb_of_get_child_node' > struct device_node *usb_of_get_child_node(struct device_node *parent, > ^ >In file included from

Re: [PATCH] USB: core: fix missing include

2016-06-13 Thread Greg Kroah-Hartman
On Tue, Jun 07, 2016 at 07:20:33PM +0100, Ben Dooks wrote: > The helper function usb_of_get_child_node() is defined in the > header but this was not included. Fix the warning > about usb_of_get_child_node() not being declared by adding the > right include. Fixes: > > drivers/usb/core/of.c:31:20:

Re: [PATCH] USB: core: fix missing include

2016-06-07 Thread kbuild test robot
Hi, [auto build test ERROR on usb/usb-testing] [also build test ERROR on v4.7-rc2 next-20160607] [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/Ben-Dooks/USB-core-fix-missing-include-linux-usb-o

[PATCH] USB: core: fix missing include

2016-06-07 Thread Ben Dooks
The helper function usb_of_get_child_node() is defined in the header but this was not included. Fix the warning about usb_of_get_child_node() not being declared by adding the right include. Fixes: drivers/usb/core/of.c:31:20: warning: symbol 'usb_of_get_child_node' was not declared. Should it be