Staging: BUG to BUG_ON changes

Signed-off-by: Stoyan Gaydarov <stoyboyker@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Stoyan Gaydarov
2009-03-10 00:10:27 -05:00
committed by Greg Kroah-Hartman
parent 0773a5c076
commit 2961f24f78
4 changed files with 5 additions and 10 deletions
+1 -2
View File
@@ -350,8 +350,7 @@ void zfLnxUsbDataIn_callback(urb_t *urb)
buf->len = 0;
#endif
if ((buf->tail + urb->actual_length) > buf->end)
BUG();
BUG_ON((buf->tail + urb->actual_length) > buf->end);
skb_put(buf, urb->actual_length);