From: Dingyan Li <18500469033@163.com> Date: Sun, 20 Oct 2024 07:47:21 +0000 (+0800) Subject: usb: storage: fix wrong comments for struct bulk_cb_wrap X-Git-Tag: v6.13-rc1~31^2~86 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f390525d27bc03dc5925293cbd9f22329648b248;p=thirdparty%2Fkernel%2Flinux.git 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 --- diff --git a/include/linux/usb/storage.h b/include/linux/usb/storage.h index 2827ce72e5025..8539956bc2be1 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 */