Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <gordon.xwj@gmail.com>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20241224062336.63215-1-gordon.xwj@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Gordon Ou and committed by
Greg Kroah-Hartman
63f0abcb da31486b

+6 -6
+6 -6
Documentation/usb/usbip_protocol.rst
··· 285 285 +-----------+--------+------------+---------------------------------------------------+ 286 286 | 0x138 | 2 | | bcdDevice | 287 287 +-----------+--------+------------+---------------------------------------------------+ 288 - | 0x139 | 1 | | bDeviceClass | 288 + | 0x13A | 1 | | bDeviceClass | 289 289 +-----------+--------+------------+---------------------------------------------------+ 290 - | 0x13A | 1 | | bDeviceSubClass | 290 + | 0x13B | 1 | | bDeviceSubClass | 291 291 +-----------+--------+------------+---------------------------------------------------+ 292 - | 0x13B | 1 | | bDeviceProtocol | 292 + | 0x13C | 1 | | bDeviceProtocol | 293 293 +-----------+--------+------------+---------------------------------------------------+ 294 - | 0x13C | 1 | | bConfigurationValue | 294 + | 0x13D | 1 | | bConfigurationValue | 295 295 +-----------+--------+------------+---------------------------------------------------+ 296 - | 0x13D | 1 | | bNumConfigurations | 296 + | 0x13E | 1 | | bNumConfigurations | 297 297 +-----------+--------+------------+---------------------------------------------------+ 298 - | 0x13E | 1 | | bNumInterfaces | 298 + | 0x13F | 1 | | bNumInterfaces | 299 299 +-----------+--------+------------+---------------------------------------------------+ 300 300 301 301 The following four commands have a common basic header called