linux/drivers/usb/storage
Bart Van Assche 0ea163a18b scsi: usb: Rename the RESERVE and RELEASE constants
The names RESERVE and RELEASE are not only used in <scsi/scsi_proto.h> but
also elsewhere in the kernel:

$ git grep -nHE 'define[[:blank:]]*(RESERVE|RELEASE)[[:blank:]]'
drivers/input/joystick/walkera0701.c:13:#define RESERVE 20000
drivers/s390/char/tape_std.h:56:#define RELEASE			0xD4	/* 3420 NOP, 3480 REJECT */
drivers/s390/char/tape_std.h:58:#define RESERVE			0xF4	/* 3420 NOP, 3480 REJECT */

Additionally, while the names of the symbolic constants RESERVE_10 and
RELEASE_10 include the command length, the command length is not included
in the RESERVE and RELEASE names. Address both issues by renaming the
RESERVE and RELEASE constants into RESERVE_6 and RELEASE_6 respectively.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20250210205031.2970833-1-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2025-02-12 22:20:55 -05:00
..
alauda.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
cypress_atacb.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
datafab.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
debug.c scsi: usb: Rename the RESERVE and RELEASE constants 2025-02-12 22:20:55 -05:00
debug.h
ene_ub6250.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
freecom.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
initializers.c
initializers.h
isd200.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
jumpshot.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
karma.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
Kconfig usb: collapse USB_STORAGE Kconfig comment 2024-12-04 16:08:42 +01:00
Makefile module: Convert default symbol namespace to string literal 2024-12-03 08:22:25 -08:00
onetouch.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
option_ms.c
option_ms.h
protocol.c
protocol.h
realtek_cr.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
scsiglue.c SCSI misc on 20250126 2025-01-26 16:12:44 -08:00
scsiglue.h
sddr09.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
sddr55.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
shuttle_usbat.c USB: Use str_enable_disable-like helpers 2025-01-15 18:28:13 +01:00
sierra_ms.c
sierra_ms.h
transport.c usb: storage: add a macro for the upper limit of max LUN 2024-12-04 16:33:54 +01:00
transport.h
uas-detect.h
uas.c SCSI misc on 20250126 2025-01-26 16:12:44 -08:00
unusual_alauda.h
unusual_cypress.h
unusual_datafab.h
unusual_devs.h usb-storage: Add max sectors quirk for Nokia 208 2025-01-07 11:42:42 +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
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