On Fri, Feb 14, 2014 at 04:54:14PM -0600, Larry Finger wrote: > diff --git a/drivers/staging/rtl8188eu/hal/usb_ops_linux.c b/drivers/staging/rtl8188eu/hal/usb_ops_linux.c > index 1fa5370..d5f6a32 100644 > --- a/drivers/staging/rtl8188eu/hal/usb_ops_linux.c > +++ b/drivers/staging/rtl8188eu/hal/usb_ops_linux.c > @@ -49,7 +49,9 @@ static int usbctrl_vendorreq(struct intf_hdl *pintfhdl, u8 request, u16 value, u > goto exit; > } > > - _enter_critical_mutex(&dvobjpriv->usb_vendor_req_mutex, NULL); > + if (mutex_lock_interruptible(&dvobjpriv->usb_vendor_req_mutex)) > + status = -ENOMEM; > + goto exit; > Missing curly braces. regards, dan carpenter _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel