Commit ba815d85 authored by Linus Torvalds's avatar Linus Torvalds

Never _ever_ BUG() if you don't have to

Cset exclude: greg@kroah.com|ChangeSet|20020905153320|19047
parent 38908d74
......@@ -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);
BUG();
show_trace(NULL);
}
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