Messages in this thread | | | Date | Tue, 10 Mar 2009 13:22:27 +0300 | From | Alexey Dobriyan <> | Subject | Re: [PATCH 02/25] [staging] BUG to BUG_ON changes |
| |
On Tue, Mar 10, 2009 at 12:10:27AM -0500, Stoyan Gaydarov wrote: > --- a/drivers/staging/usbip/vhci_sysfs.c > +++ b/drivers/staging/usbip/vhci_sysfs.c > @@ -31,8 +31,7 @@ static ssize_t show_status(struct device *dev, struct device_attribute *attr, > char *s = out; > int i = 0; > > - if (!the_controller || !out) > - BUG(); > + BUG_ON(!the_controller || !out);
Should be deleted partially.
> spin_lock(&the_controller->lock);
| |