1
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
..
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
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
Kconfig
Makefile
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
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
sierra_ms.h
transport.c
transport.h
uas-detect.h
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
unusual_datafab.h
unusual_devs.h
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
unusual_usbat.h
usb.c usb-storage: Optimize scan delay more precisely 2024-06-04 15:40:47 +02:00
usb.h
usual-tables.c