diff options
| author | Bart Van Assche <bvanassche@acm.org> | 2026-01-15 13:03:41 -0800 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2026-01-23 21:32:34 -0500 |
| commit | 0db3f51839fe703173966f34a4327e3a0c7cc089 (patch) | |
| tree | 8710b07a97dc448f3fb1e20c221ccfd3defae90a /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | 5612404d026d349278e6eb3b1ee55bd60b38ae3c (diff) | |
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>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
