linux/drivers/usb
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
..
atm Merge 6.12-rc3 into usb-next 2024-10-14 08:03:44 +02:00
c67x00 usb: Switch back to struct platform_driver::remove() 2024-10-04 15:13:03 +02:00
cdns3 USB: Use str_enable_disable-like helpers 2025-01-15 18:28:13 +01:00
chipidea USB: Use str_enable_disable-like helpers 2025-01-15 18:28:13 +01:00
class Merge 6.13-rc7 into usb-next 2025-01-13 06:11:06 +01:00
common USB: Use str_enable_disable-like helpers 2025-01-15 18:28:13 +01:00
core USB / Thunderbolt driver updates for 6.14-rc1 2025-01-27 16:29:16 -08:00
dwc2 usb: dwc2: Fix HCD port connection race 2024-12-04 16:30:05 +01:00
dwc3 usb: dwc3: core: Defer the probe until USB power supply ready 2025-01-17 12:38:22 +01:00
early usb: early: xhci-dbc: Use memcpy_and_pad() 2023-01-31 10:40:54 +01:00
fotg210 USB: Use str_enable_disable-like helpers 2025-01-15 18:28:13 +01:00
gadget scsi: usb: Rename the RESERVE and RELEASE constants 2025-02-12 22:20:55 -05:00
host Driver core and debugfs updates 2025-01-28 12:25:12 -08:00
image scsi: Rename .slave_alloc() and .slave_destroy() 2024-12-04 15:34:28 -05:00
isp1760 Kbuild updates for v6.13 2024-11-30 13:41:50 -08:00
misc usb: misc: onboard_usb_dev: skip suspend/resume sequence for USB5744 SMBus support 2024-12-04 16:27:04 +01:00
mon drivers/usb/mon: refactor min with min_t 2024-11-13 15:09:51 +01:00
mtu3 Driver core and debugfs updates 2025-01-28 12:25:12 -08:00
musb USB: Use str_enable_disable-like helpers 2025-01-15 18:28:13 +01:00
phy USB: phy: Use str_enable_disable-like helpers 2025-01-15 18:28:13 +01:00
renesas_usbhs usb: Use (of|device)_property_present() for non-boolean properties 2024-11-05 13:29:26 +01:00
roles usb: Switch back to struct platform_driver::remove() 2024-10-04 15:13:03 +02:00
serial USB-serial updates for 6.14-rc1 2025-01-17 09:17:47 +01:00
storage scsi: usb: Rename the RESERVE and RELEASE constants 2025-02-12 22:20:55 -05:00
typec Driver core and debugfs updates 2025-01-28 12:25:12 -08:00
usbip usbip: Correct format specifier for seqnum from %d to %u 2025-01-17 12:38:01 +01:00
Kconfig usb: pci-quirks: handle HAS_IOPORT dependency for AMD quirk 2023-10-02 16:19:12 +02:00
Makefile USB: xen-hcd: Traverse host/ when CONFIG_USB_XEN_HCD is selected 2024-06-04 15:33:38 +02:00
usb-skeleton.c usb: add usb_set_intfdata() documentation 2022-11-29 08:56:09 +01:00