patch-2.4.14 linux/drivers/usb/storage/sddr09.c
Next file: linux/drivers/usb/usb-ohci.h
Previous file: linux/drivers/usb/serial/ir-usb.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Sun Nov 4 09:31:57 2001
- Orig file:
v2.4.13/linux/drivers/usb/storage/sddr09.c
- Orig date:
Sun Sep 23 11:41:00 2001
diff -u --recursive --new-file v2.4.13/linux/drivers/usb/storage/sddr09.c linux/drivers/usb/storage/sddr09.c
@@ -637,9 +637,11 @@
for (i=0; i<alloc_blocks; i++) {
if (i<alloc_blocks-1) {
sg[i].address = kmalloc( (1<<17), GFP_KERNEL );
+ sg[i].page = NULL;
sg[i].length = (1<<17);
} else {
sg[i].address = kmalloc(alloc_len, GFP_KERNEL);
+ sg[i].page = NULL;
sg[i].length = alloc_len;
}
alloc_len -= sg[i].length;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)