linux/drivers/message/fusion
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>
History 2025-02-12 22:20:55 -05:00
..
lsi scsi: message: fusion: struct _CONFIG_PAGE_IOC_4: Replace 1-element array with flexible array 2024-08-02 21:32:52 -04:00
Kconfig scsi: message: fusion: Add HAS_IOPORT dependencies 2023-05-31 19:59:26 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mptbase.c scsi: mptfusion: Simplify the alloc*_workqueue() invocations 2024-08-22 21:28:55 -04:00
mptbase.h scsi: mptfusion: Simplify the alloc*_workqueue() invocations 2024-08-22 21:28:55 -04:00
mptctl.c SCSI misc on 20240928 2024-09-29 09:22:34 -07:00
mptctl.h [SCSI] mpt fusion : Updated copyright statment with 2008 included 2008-06-05 09:27:17 -05:00
mptdebug.h scsi: message: fusion: Avoid -Wempty-body warnings 2021-04-01 22:55:25 -04:00
mptfc.c Merge branch '6.13/scsi-fixes' into 6.14/scsi-staging 2025-01-10 15:20:30 -05:00
mptlan.c scsi: message: mptlan: Fix use after free bug in mptlan_remove() due to race condition 2023-03-24 20:38:50 -04:00
mptlan.h scsi: mptfusion: Remove #ifndef __GENKSYMS__ / #endif 2024-10-03 22:00:08 -04:00
mptsas.c Merge branch '6.13/scsi-fixes' into 6.14/scsi-staging 2025-01-10 15:20:30 -05:00
mptsas.h scsi: message: fusion: Remove in_interrupt() usage in mptsas_cleanup_fw_event_q() 2020-12-01 00:03:54 -05:00
mptscsih.c scsi: usb: Rename the RESERVE and RELEASE constants 2025-02-12 22:20:55 -05:00
mptscsih.h scsi: message: fusion: Remove unused mptscsih_target_reset() 2025-02-03 17:58:28 -05:00
mptspi.c Merge branch '6.13/scsi-fixes' into 6.14/scsi-staging 2025-01-10 15:20:30 -05:00