Re: [PATCH] r8152: Fix error path in open function

From: David Miller
Date: Sun Nov 13 2016 - 12:04:15 EST


From: Guenter Roeck <linux@xxxxxxxxxxxx>
Date: Wed, 9 Nov 2016 19:51:25 -0800

> If usb_submit_urb() called from the open function fails, the following
> crash may be observed.
...
> Clean up error handling to avoid registering the notifier if the open
> function is going to fail.
>
> Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>

Looks good, applied, thanks.