Commit eff95566 authored by Linus Torvalds's avatar Linus Torvalds Committed by Linus Torvalds

Use dump_stack() for the USB storage buffer size checking,

to make it possible to track down.
parent 182d090b
...@@ -350,7 +350,7 @@ unsigned int usb_stor_transfer_length(Scsi_Cmnd *srb) ...@@ -350,7 +350,7 @@ unsigned int usb_stor_transfer_length(Scsi_Cmnd *srb)
*/ */
if (len != srb->request_bufflen) { if (len != srb->request_bufflen) {
printk(KERN_ERR "USB len=%d, request_bufflen=%d\n", len, srb->request_bufflen); printk(KERN_ERR "USB len=%d, request_bufflen=%d\n", len, srb->request_bufflen);
printk(KERN_ERR "Fix this -- future 2.5 kernels will not work if this is not fixed!\n"); dump_stack();
} }
return len; return len;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment