patch-2.4.9 linux/drivers/usb/storage/jumpshot.c
Next file: linux/drivers/usb/storage/jumpshot.h
Previous file: linux/drivers/usb/storage/datafab.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Aug 15 01:22:16 2001
- Orig file:
v2.4.8/linux/drivers/usb/storage/jumpshot.c
- Orig date:
Sun Aug 12 13:28:00 2001
diff -u --recursive --new-file v2.4.8/linux/drivers/usb/storage/jumpshot.c linux/drivers/usb/storage/jumpshot.c
@@ -280,7 +280,7 @@
do {
// loop, never allocate or transfer more than 64k at once (min(128k, 255*info->ssize) is the real limit)
- len = min(totallen, 65536);
+ len = min(int, totallen, 65536);
if (use_sg) {
sg = (struct scatterlist *) dest;
@@ -395,7 +395,7 @@
do {
// loop, never allocate or transfer more than 64k at once (min(128k, 255*info->ssize) is the real limit)
- len = min(totallen, 65536);
+ len = min(int, totallen, 65536);
if (use_sg) {
sg = (struct scatterlist *) src;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)