linux/drivers/usb/storage
Abhishek Tamboli 9027afa89b 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 <abhishektamboli9@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/20240912145247.15544-1-abhishektamboli9@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-13 07:40:22 +02:00
..
Kconfig
Makefile
alauda.c usb-storage: Constify struct usb_device_id and us_unusual_dev 2024-09-03 09:49:40 +02:00
cypress_atacb.c usb-storage: Constify struct usb_device_id and us_unusual_dev 2024-09-03 09:49:40 +02:00
datafab.c usb-storage: Constify struct usb_device_id and us_unusual_dev 2024-09-03 09:49:40 +02:00
debug.c scsi: Remove drivers/scsi/scsi.h 2022-02-22 21:11:02 -05:00
debug.h
ene_ub6250.c usb: storage: ene_ub6250: Fix right shift warnings 2024-09-13 07:40:22 +02:00
freecom.c usb-storage: Constify struct usb_device_id and us_unusual_dev 2024-09-03 09:49:40 +02:00
initializers.c
initializers.h
isd200.c usb-storage: Constify struct usb_device_id and us_unusual_dev 2024-09-03 09:49:40 +02:00
jumpshot.c usb-storage: Constify struct usb_device_id and us_unusual_dev 2024-09-03 09:49:40 +02:00
karma.c usb-storage: Constify struct usb_device_id and us_unusual_dev 2024-09-03 09:49:40 +02:00
onetouch.c usb-storage: Constify struct usb_device_id and us_unusual_dev 2024-09-03 09:49:40 +02:00
option_ms.c
option_ms.h
protocol.c
protocol.h
realtek_cr.c USB: storage: ums-realtek: fix error code in rts51x_read_mem() 2022-03-15 18:21:25 +01:00
scsiglue.c scsi: usb: uas: Do not query the IO Advice Hints Grouping mode page for USB/UAS devices 2024-06-13 21:03:13 -04:00
scsiglue.h
sddr09.c usb-storage: Constify struct usb_device_id and us_unusual_dev 2024-09-03 09:49:40 +02:00
sddr55.c usb-storage: Constify struct usb_device_id and us_unusual_dev 2024-09-03 09:49:40 +02:00
shuttle_usbat.c usb-storage: Constify struct usb_device_id and us_unusual_dev 2024-09-03 09:49:40 +02:00
sierra_ms.c usb: storage: Remove snprintf() from sysfs call-backs and replace with sysfs_emit() 2023-12-15 13:55:30 +01:00
sierra_ms.h
transport.c USB: storage: Fix typo in comment 2022-06-21 16:39:42 +02:00
transport.h
uas-detect.h usb-storage,uas: make internal quirks flags 64bit 2023-10-21 12:45:14 +02:00
uas.c usb-storage: Constify struct usb_device_id and us_unusual_dev 2024-09-03 09:49:40 +02:00
unusual_alauda.h
unusual_cypress.h usb: storage: set 1.50 as the lower bcdDevice for older "Super Top" compatibility 2023-10-28 12:23:41 +02:00
unusual_datafab.h
unusual_devs.h usb-storage: Add quirk for incorrect WP on Kingston DT Ultimate 3.0 G3 2023-12-15 14:00:58 +01:00
unusual_ene_ub6250.h
unusual_freecom.h
unusual_isd200.h
unusual_jumpshot.h
unusual_karma.h
unusual_onetouch.h
unusual_realtek.h
unusual_sddr09.h
unusual_sddr55.h
unusual_uas.h uas: Add US_FL_NO_REPORT_OPCODES for JMicron JMS583Gen 2 2023-03-16 12:44:17 +01:00
unusual_usbat.h
usb.c usb-storage: Optimize scan delay more precisely 2024-06-04 15:40:47 +02:00
usb.h usb-storage,uas: make internal quirks flags 64bit 2023-10-21 12:45:14 +02:00
usual-tables.c usb-storage,uas: make internal quirks flags 64bit 2023-10-21 12:45:14 +02:00