USB: fix types in uapi include
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2019 06:36:16 +0000 (16:36 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Jun 2019 14:56:14 +0000 (16:56 +0200)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/uapi/linux/usbdevice_fs.h

index 4b267fe3776e2ce3ebbd9371fdd0b7c560f50faa..78efe870c2b7c85c9814ac90c04e137618bfd866 100644 (file)
@@ -85,11 +85,11 @@ struct usbdevfs_conninfo_ex {
                                /* kernel, the device is connected to.     */
        __u32 devnum;           /* Device address on the bus.              */
        __u32 speed;            /* USB_SPEED_* constants from ch9.h        */
-       u8 num_ports;           /* Number of ports the device is connected */
+       __u8 num_ports;         /* Number of ports the device is connected */
                                /* to on the way to the root hub. It may   */
                                /* be bigger than size of 'ports' array so */
                                /* userspace can detect overflows.         */
-       u8 ports[7];            /* List of ports on the way from the root  */
+       __u8 ports[7];          /* List of ports on the way from the root  */
                                /* hub to the device. Current limit in     */
                                /* USB specification is 7 tiers (root hub, */
                                /* 5 intermediate hubs, device), which     */