patch-2.4.25 linux-2.4.25/drivers/scsi/megaraid.c

Next file: linux-2.4.25/drivers/scsi/megaraid2.c
Previous file: linux-2.4.25/drivers/scsi/mac_scsi.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/drivers/scsi/megaraid.c linux-2.4.25/drivers/scsi/megaraid.c
@@ -4991,7 +4991,7 @@
 
 		if( !scsicmd->result && outlen ) {
 			if (copy_to_user(uaddr, kvaddr, length)) {
-				return -EFAULT;
+				ret = -EFAULT;
 				goto out_ioctl_cmd_new;
 			}
 		}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)