]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
scsi: core: Use scsi_cmd_priv() instead of open-coding it
authorBart Van Assche <bvanassche@acm.org>
Tue, 24 Jun 2025 21:05:40 +0000 (14:05 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 9 Jul 2025 02:11:42 +0000 (22:11 -0400)
commit8314312c5286e53045a6c37128ea9ddd9cd5e217
treebc5136dbb8ed5434be4e7f88a3495abc6fc00b9a
parentb152f199fa43ef96ecb29cefafa1e9b0e02b6f3d
scsi: core: Use scsi_cmd_priv() instead of open-coding it

Improve code readability without modifying the behavior of the code.

Cc: Hannes Reinecke <hare@suse.de>
Cc: John Garry <john.g.garry@oracle.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20250624210541.512910-4-bvanassche@acm.org
Reviewed-by: John Garry <john.g.garry@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_lib.c