diff options
author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-08-13 16:52:49 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-08-13 17:19:28 +0200 |
commit | 98da66a70ad2396e5a508c4245367797ebc052ce (patch) | |
tree | b3790860d9ca9464bc76b320ca1337444846cf21 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 421255afa2a58eee2109dda56c137a7b61c4b05f (diff) |
usb: storage: realtek_cr: Use correct byte order for bcs->Residue
Since 'bcs->Residue' has the data type '__le32', convert it to the
correct byte order of the CPU using this driver when assigning it to
the local variable 'residue'.
Cc: stable <stable@kernel.org>
Fixes: 50a6cb932d5c ("USB: usb_storage: add ums-realtek driver")
Suggested-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://lore.kernel.org/r/20250813145247.184717-3-thorsten.blum@linux.dev
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions