Messages in this thread Patch in this message | | | From | Robert Greener <> | Date | Tue, 5 Oct 2021 14:26:43 +0100 | Subject | [PATCH 08/13] usb: core: config: add blank lines after struct def |
| |
This fixes the following checkpatch.pl warning at multiple locations:
CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
Signed-off-by: Robert Greener <rob@robgreener.com> --- drivers/usb/core/config.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/drivers/usb/core/config.c b/drivers/usb/core/config.c index af88cfe52e92..3bf04fdf850a 100644 --- a/drivers/usb/core/config.c +++ b/drivers/usb/core/config.c @@ -176,12 +176,14 @@ static const unsigned short low_speed_maxpacket_maxes[4] = { [USB_ENDPOINT_XFER_BULK] = 0, [USB_ENDPOINT_XFER_INT] = 8, }; + static const unsigned short full_speed_maxpacket_maxes[4] = { [USB_ENDPOINT_XFER_CONTROL] = 64, [USB_ENDPOINT_XFER_ISOC] = 1023, [USB_ENDPOINT_XFER_BULK] = 64, [USB_ENDPOINT_XFER_INT] = 64, }; + static const unsigned short high_speed_maxpacket_maxes[4] = { [USB_ENDPOINT_XFER_CONTROL] = 64, [USB_ENDPOINT_XFER_ISOC] = 1024, @@ -190,6 +192,7 @@ static const unsigned short high_speed_maxpacket_maxes[4] = { [USB_ENDPOINT_XFER_BULK] = 1024, [USB_ENDPOINT_XFER_INT] = 1024, }; + static const unsigned short super_speed_maxpacket_maxes[4] = { [USB_ENDPOINT_XFER_CONTROL] = 512, [USB_ENDPOINT_XFER_ISOC] = 1024, -- 2.32.0
| |