On Tue, 22 Mar 2022 20:22:42 -0400, Kevin Groeneveld wrote: > 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. > > > [...] Applied to 5.18/scsi-fixes, thanks! [1/1] scsi: sr: fix typo in CDROM(CLOSETRAY|EJECT) handling https://git.kernel.org/mkp/scsi/c/bc5519c18a32 -- Martin K. Petersen Oracle Linux Engineering