scsi: scsi_ioctl: fix error code propagation in SG_IO
Subsystems (2)
PATCH 1/1 scsi: scsi_ioctl: fix error code propagation in SG_IO
Fixes f2542a3be327 ("scsi: scsi_ioctl: Move the "block layer" SCSI
ioctl handling to drivers/scsi")
Signed-off-by Halil Pasic <[email protected]>
Reviewed-by Christoph Hellwig <[email protected]>
---
This is a patch against the for-next branch ofgit://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git and/or linux-next/master.
--- drivers/scsi/scsi_ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/scsi_ioctl.c +1 -1
@@ -874,7 +874,7 @@ static int scsi_ioctl_sg_io(struct scsi_device *sdev, struct gendisk *disk,return error;if (put_sg_io_hdr (&hdr, argp))return -EFAULT ; -return 0 ; +return error; }/**
Signature · 1 line
2.25.1
Martin K. Petersen
AppliedHalil,
Quoted 2 lines
Fixes f2542a3be327 ("scsi: scsi_ioctl: Move the "block layer" SCSIioctl handling to
drivers/scsi")
Applied to 5.15/scsi-staging, thanks!
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering
Martin K. Petersen
AppliedQuoted 1 line · Halil Pasic
Applied to 5.15/scsi-queue, thanks!
[1/1] scsi: scsi_ioctl: fix error code propagation in SG_IO
https://git.kernel.org/mkp/scsi/c/04a71cdc46a9
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering