patch-2.4.22 linux-2.4.22/drivers/scsi/megaraid.c
Next file: linux-2.4.22/drivers/scsi/nsp32.h
Previous file: linux-2.4.22/drivers/scsi/ide-scsi.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
2003-08-25 04:44:42.000000000 -0700
- Orig file:
linux-2.4.21/drivers/scsi/megaraid.c
- Orig date:
2003-06-13 07:51:36.000000000 -0700
diff -urN linux-2.4.21/drivers/scsi/megaraid.c linux-2.4.22/drivers/scsi/megaraid.c
@@ -4924,8 +4924,10 @@
if( !scsicmd->result && outlen ) {
if (copy_to_user(uaddr, kvaddr, length))
+ {
ret = -EFAULT;
goto out;
+ }
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)