lkml.org 
[lkml]   [2016]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] r8152: Fix error path in open function
From
From: Guenter Roeck <linux@roeck-us.net>
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@roeck-us.net>

Looks good, applied, thanks.

\
 
 \ /
  Last update: 2016-11-13 18:05    [W:0.044 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site