aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorKevin Groeneveld <[email protected]>2022-03-22 20:22:42 -0400
committerMartin K. Petersen <[email protected]>2022-03-29 23:37:45 -0400
commitbc5519c18a32ce855bb51b9f5eceb77a9489d080 (patch)
tree8da9612a7e0fc4f98a8753b22f6134590827ccf1 /lib/mpi/mpiutil.c
parentf16aa285e6185271bc6812a176f7ae3dbd7fe28d (diff)
scsi: sr: Fix typo in CDROM(CLOSETRAY|EJECT) handling
Commit 2e27f576abc6 ("scsi: scsi_ioctl: Call scsi_cmd_ioctl() from scsi_ioctl()") seems to have a typo as it is checking ret instead of cmd in the if statement checking for CDROMCLOSETRAY and CDROMEJECT. This changes the behaviour of these ioctls as the cdrom_ioctl handling of these is more restrictive than the scsi_ioctl version. Link: https://lore.kernel.org/r/[email protected] Fixes: 2e27f576abc6 ("scsi: scsi_ioctl: Call scsi_cmd_ioctl() from scsi_ioctl()") Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Kevin Groeneveld <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions