diff options
author | Dingyan Li <18500469033@163.com> | 2024-10-20 10:47:21 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-10-29 06:33:29 +0300 |
commit | f390525d27bc03dc5925293cbd9f22329648b248 (patch) | |
tree | 04ba95a5a82079e87bed0181afa9de6f7f480e50 /include/linux/usb | |
parent | 1b5188cdc1d4fe41e1cbd6fadf6135c4b973addb (diff) | |
download | linux-f390525d27bc03dc5925293cbd9f22329648b248.tar.xz |
usb: storage: fix wrong comments for struct bulk_cb_wrap
In the flags, direction is in bit 7 instead of bit 0 based
on the specification.
Signed-off-by: Dingyan Li <18500469033@163.com>
Link: https://lore.kernel.org/r/20241020074721.26905-1-18500469033@163.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb')
-rw-r--r-- | include/linux/usb/storage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb/storage.h b/include/linux/usb/storage.h index 2827ce72e502..8539956bc2be 100644 --- a/include/linux/usb/storage.h +++ b/include/linux/usb/storage.h @@ -53,7 +53,7 @@ struct bulk_cb_wrap { __le32 Signature; /* contains 'USBC' */ __u32 Tag; /* unique per command id */ __le32 DataTransferLength; /* size of data */ - __u8 Flags; /* direction in bit 0 */ + __u8 Flags; /* direction in bit 7 */ __u8 Lun; /* LUN normally 0 */ __u8 Length; /* length of the CDB */ __u8 CDB[16]; /* max command */ |