]> git.neil.brown.name Git - history.git/commitdiff
Use dump_stack() for the USB storage buffer size checking,
authorLinus Torvalds <torvalds@home.transmeta.com>
Fri, 4 Oct 2002 12:28:09 +0000 (05:28 -0700)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Fri, 4 Oct 2002 12:28:09 +0000 (05:28 -0700)
to make it possible to track down.

drivers/usb/storage/transport.c

index 19071ba8bf8600c0b0ae43ca8f9be826d9f70c00..9303b8b502a7101eb8c7e453902f93538eedab0e 100644 (file)
@@ -350,7 +350,7 @@ unsigned int usb_stor_transfer_length(Scsi_Cmnd *srb)
         */
        if (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;