]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge patch series "Change the return type of the .queuecommand() callback"
authorMartin K. Petersen <martin.petersen@oracle.com>
Sat, 24 Jan 2026 02:40:33 +0000 (21:40 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 24 Jan 2026 02:40:33 +0000 (21:40 -0500)
commit92da3818aaf6dd9c49ef8fdc39c024c76b52cba8
tree8710b07a97dc448f3fb1e20c221ccfd3defae90a
parenta9e03ec01ef2633288fd1b506980f54ae41c5a85
parent0db3f51839fe703173966f34a4327e3a0c7cc089
Merge patch series "Change the return type of the .queuecommand() callback"

Bart Van Assche <bvanassche@acm.org> says:

Hi Martin,

Most but not all .queuecommand() implementations return a SCSI_MLQUEUE_*
constant. This affects code readability: in order to understand what happens
if a .queuecommand() function returns a value that is not a SCSI_MLQUEUE_*
constant, one has to read the scsi_dispatch_cmd() implementation and check
how other values are handled. Hence this patch series that changes the
return type of the .queuecommand() callback and also of the implementations of
this callback.

Please consider this patch series for the next merge window.

Thanks,

Bart.

Link: https://patch.msgid.link/20260115210357.2501991-1-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>