diff options
author | Abhishek Tamboli <[email protected]> | 2024-09-12 20:22:47 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-09-13 07:40:22 +0200 |
commit | 9027afa89bfe9e50e46714b72179761c67ebf4ad (patch) | |
tree | aa663e143322cce1d50ead385573cf22b08d80ec /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
parent | 7d01ef789bdcdd02ac42b98ae5b7f98310a0e3d2 (diff) |
usb: storage: ene_ub6250: Fix right shift warnings
Change bl_len from u16 to u32 to accommodate the necessary bit shifts.
Fix the following smatch warnings:
drivers/usb/storage/ene_ub6250.c:1509 ms_scsi_read_capacity() warn:
right shifting more than type allows 16 vs 24
drivers/usb/storage/ene_ub6250.c:1510 ms_scsi_read_capacity() warn:
right shifting more than type allows 16 vs 16
Signed-off-by: Abhishek Tamboli <[email protected]>
Acked-by: Alan Stern <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions