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:
committed by
Greg Kroah-Hartman
parent
0773a5c076
commit
2961f24f78
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user