diff options
author | Stoyan Gaydarov <stoyboyker@gmail.com> | 2009-03-10 05:10:27 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 21:54:26 (GMT) |
commit | 2961f24f78f456a0a2d0dada56ee795232fe21b3 (patch) | |
tree | 9dd7147ed5076879d42bf70cb61865bc87f11313 /drivers/staging/otus | |
parent | 0773a5c07641ddef7f94636292921e12f2efab02 (diff) | |
download | linux-fsl-qoriq-2961f24f78f456a0a2d0dada56ee795232fe21b3.tar.xz |
Staging: BUG to BUG_ON changes
Signed-off-by: Stoyan Gaydarov <stoyboyker@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/otus')
-rw-r--r-- | drivers/staging/otus/wwrap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/otus/wwrap.c b/drivers/staging/otus/wwrap.c index a0b1e0b..4db8f6e 100644 --- a/drivers/staging/otus/wwrap.c +++ b/drivers/staging/otus/wwrap.c @@ -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); |