Commit cffbb434 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: storage driver: replace show_trace() with BUG()

parent 2cb4a05f
......@@ -350,7 +350,7 @@ unsigned int usb_stor_transfer_length(Scsi_Cmnd *srb)
*/
if (len != srb->request_bufflen) {
printk("USB len=%d, request_bufflen=%d\n", len, srb->request_bufflen);
show_trace(NULL);
BUG();
}
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