linux/drivers/usb
Bart Van Assche 0db3f51839 scsi: Change the return type of the .queuecommand() callback
In clang version 21.1 and later the -Wimplicit-enum-enum-cast warning
option has been introduced. This warning is enabled by default and can
be used to catch .queuecommand() implementations that return another
value than 0 or one of the SCSI_MLQUEUE_* constants. Hence this patch
that changes the return type of the .queuecommand() implementations from
'int' into 'enum scsi_qc_status'. No functionality has been changed.

Cc: Damien Le Moal <dlemoal@kernel.org>
Cc: John Garry <john.g.garry@oracle.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/20260115210357.2501991-6-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
History 2026-01-23 21:32:34 -05:00
..
atm usb: atm: cxacru: Merge cxacru_upload_firmware() into cxacru_heavy_init() 2025-07-24 11:33:31 +02:00
c67x00 usb: Switch back to struct platform_driver::remove() 2024-10-04 15:13:03 +02:00
cdns3 USB/Thunderbolt changes for 6.19-rc1 2025-12-06 18:42:12 -08:00
chipidea USB/Thunderbolt changes for 6.19-rc1 2025-12-06 18:42:12 -08:00
class uapi: cdc.h: cleanly provide for more interfaces and countries 2025-11-21 15:12:12 +01:00
common usb: common: usb-conn-gpio: use a unique name for usb connector device 2025-04-11 16:08:34 +02:00
core USB: add WQ_PERCPU to alloc_workqueue users 2025-11-21 15:17:36 +01:00
dwc2 usb: dwc2: fix hang during suspend if set as peripheral 2025-11-21 15:10:38 +01:00
dwc3 USB/Thunderbolt changes for 6.19-rc1 2025-12-06 18:42:12 -08:00
early usb: early: xhci-dbc: Fix early_ioremap leak 2025-07-07 11:04:46 +02:00
fotg210 usb: fotg210-hcd: Switch to use hrtimer_setup() 2025-02-18 11:19:02 +01:00
gadget USB/Thunderbolt changes for 6.19-rc1 2025-12-06 18:42:12 -08:00
host USB/Thunderbolt changes for 6.19-rc1 2025-12-06 18:42:12 -08:00
image scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
isp1760 treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
misc usb: Remove redundant pm_runtime_mark_last_busy() calls 2025-11-21 15:11:53 +01:00
mon usb: mon: Increase BUFF_MAX to 64 MiB to support multi-MB URBs 2025-09-17 12:40:05 +02:00
mtu3 usb: Remove redundant pm_runtime_mark_last_busy() calls 2025-11-21 15:11:53 +01:00
musb usb: Remove redundant pm_runtime_mark_last_busy() calls 2025-11-21 15:11:53 +01:00
phy usb: phy: Initialize struct usb_phy list_head 2025-11-26 12:58:46 +01:00
renesas_usbhs USB/Thunderbolt changes for 6.19-rc1 2025-12-06 18:42:12 -08:00
roles usb: roles: set switch registered flag early on 2025-02-14 09:26:25 +01:00
serial USB/Thunderbolt changes for 6.19-rc1 2025-12-06 18:42:12 -08:00
storage scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
typec USB/Thunderbolt changes for 6.19-rc1 2025-12-06 18:42:12 -08:00
usbip usbip: Use min to simplify stub_send_ret_submit 2025-10-22 10:58:31 +02: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