Skip to content

Commit 63f0abc

Browse files
Gordon Ougregkh
authored andcommitted
USB: usbip: Update USB/IP OP_REP_IMPORT documentation.
This is to correct the mistaken byte offset of the field bDeviceClass in OP_REP_IMPORT documentation. The previous field bcdDevice has length 2 and the offset for bDeviceClass should be 0x138 + 2 = 0x13A instead of 0x139. Offsets for subsequent fields are also affected and fixed in this patch. Signed-off-by: Gordon Ou <[email protected]> Reviewed-by: Shuah Khan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent da31486 commit 63f0abc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Documentation/usb/usbip_protocol.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -285,17 +285,17 @@ OP_REP_IMPORT:
285285
+-----------+--------+------------+---------------------------------------------------+
286286
| 0x138 | 2 | | bcdDevice |
287287
+-----------+--------+------------+---------------------------------------------------+
288-
| 0x139 | 1 | | bDeviceClass |
288+
| 0x13A | 1 | | bDeviceClass |
289289
+-----------+--------+------------+---------------------------------------------------+
290-
| 0x13A | 1 | | bDeviceSubClass |
290+
| 0x13B | 1 | | bDeviceSubClass |
291291
+-----------+--------+------------+---------------------------------------------------+
292-
| 0x13B | 1 | | bDeviceProtocol |
292+
| 0x13C | 1 | | bDeviceProtocol |
293293
+-----------+--------+------------+---------------------------------------------------+
294-
| 0x13C | 1 | | bConfigurationValue |
294+
| 0x13D | 1 | | bConfigurationValue |
295295
+-----------+--------+------------+---------------------------------------------------+
296-
| 0x13D | 1 | | bNumConfigurations |
296+
| 0x13E | 1 | | bNumConfigurations |
297297
+-----------+--------+------------+---------------------------------------------------+
298-
| 0x13E | 1 | | bNumInterfaces |
298+
| 0x13F | 1 | | bNumInterfaces |
299299
+-----------+--------+------------+---------------------------------------------------+
300300

301301
The following four commands have a common basic header called

0 commit comments

Comments
 (0)