[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <7ccbda3348ab1806edf5c0d91e655b1bcec7f2c1.1633442131.git.rob@robgreener.com>
Date: Tue, 5 Oct 2021 14:26:43 +0100
From: Robert Greener <rob@...greener.com>
To: unlisted-recipients:; (no To-header on input)
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@...greener.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
Powered by blists - more mailing lists