Re: linux-next: build failure after merge of the usb tree

From: Greg KH
Date: Wed Jun 19 2019 - 11:02:02 EST


On Wed, Jun 19, 2019 at 04:43:51PM +1000, Stephen Rothwell wrote:
> Hi all,
>
> After merging the usb tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
>
> In file included from usr/include/linux/usbdevice_fs.hdrtest.c:1:
> ./usr/include/linux/usbdevice_fs.h:88:2: error: unknown type name 'u8'
> u8 num_ports; /* Number of ports the device is connected */
> ^~
> ./usr/include/linux/usbdevice_fs.h:92:2: error: unknown type name 'u8'
> u8 ports[7]; /* List of ports on the way from the root */
> ^~
>
> Caused by commit
>
> 6d101f24f1dd ("USB: add usbfs ioctl to retrieve the connection parameters")
>
> Presumably exposed by commit
>
> b91976b7c0e3 ("kbuild: compile-test UAPI headers to ensure they are self-contained")
>
> from the kbuild tree.
>
> I have added this patch for now:
>
> From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> Date: Wed, 19 Jun 2019 16:36:16 +1000
> Subject: [PATCH] USB: fix types in uapi include
>
> Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> ---
> include/uapi/linux/usbdevice_fs.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

Ah, good catch, sorry about that. Now applied.

greg k-h