hw/usb/hcd-ehci.h: Fix coding style issues reported by checkpatch
No functional change. Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20260424080508.53992-4-jamin_lin@aspeedtech.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Jamin Lin committed
Mar 11, 2026 at 08:26 UTC
4d8f3c086c9af045c5ce5e60da0ac19535759756
1 file changed
+11
-6
hw/usb/hcd-ehci.h
+11
-6
@@ -43,7 +43,8 @@ typedef struct EHCIPacket EHCIPacket;
43
typedef struct EHCIQueue EHCIQueue;
44
typedef struct EHCIState EHCIState;
45
46
-/* EHCI spec version 1.0 Section 3.3
46
+/*
47
+ * EHCI spec version 1.0 Section 3.3
48
*/
49
typedef struct EHCIitd {
50
uint32_t next;
@@ -74,7 +75,8 @@ typedef struct EHCIitd {
75
#define ITD_BUFPTR_MULT_SH 0
76
} EHCIitd;
77
77
-/* EHCI spec version 1.0 Section 3.4
78
+/*
79
+ * EHCI spec version 1.0 Section 3.4
80
*/
81
typedef struct EHCIsitd {
82
uint32_t next; /* Standard next link pointer */
@@ -118,7 +120,8 @@ typedef struct EHCIsitd {
120
uint32_t backptr; /* Standard next link pointer */
121
} EHCIsitd;
122
121
-/* EHCI spec version 1.0 Section 3.5
123
+/*
124
+ * EHCI spec version 1.0 Section 3.5
125
*/
126
typedef struct EHCIqtd {
127
uint32_t next; /* Standard next link pointer */
@@ -148,7 +151,8 @@ typedef struct EHCIqtd {
151
#define QTD_BUFPTR_SH 12
152
} EHCIqtd;
153
151
-/* EHCI spec version 1.0 Section 3.6
154
+/*
155
+ * EHCI spec version 1.0 Section 3.6
156
*/
157
typedef struct EHCIqh {
158
uint32_t next; /* Standard next link pointer */
@@ -230,7 +234,8 @@ struct EHCIQueue {
234
int async;
235
int transact_ctr;
236
233
- /* cached data from guest - needs to be flushed
237
+ /*
238
+ * cached data from guest - needs to be flushed
239
* when guest removes an entry (doorbell, handshake sequence)
240
*/
241
EHCIqh qh; /* copy of current QH (being worked on) */
@@ -268,7 +273,7 @@ struct EHCIState {
273
*/
274
uint8_t caps[CAPA_SIZE];
275
union {
271
- uint32_t opreg[0x44/sizeof(uint32_t)];
276
+ uint32_t opreg[0x44 / sizeof(uint32_t)];
277
struct {
278
uint32_t usbcmd;
279
uint32_t usbsts;