patch-1.3.16 linux/drivers/scsi/sg.c
Next file: linux/drivers/scsi/sr_ioctl.c
Previous file: linux/drivers/scsi/scsi.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Aug 4 07:51:07 1995
- Orig file:
v1.3.15/linux/drivers/scsi/sg.c
- Orig date:
Wed Aug 2 13:21:14 1995
diff -u --recursive --new-file v1.3.15/linux/drivers/scsi/sg.c linux/drivers/scsi/sg.c
@@ -77,7 +77,7 @@
switch(cmd_in)
{
case SG_SET_TIMEOUT:
- result = verify_area(VERIFY_READ, arg, sizeof(long));
+ result = verify_area(VERIFY_READ, (const void *)arg, sizeof(long));
if (result) return result;
scsi_generics[dev].timeout=get_user((int *) arg);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this