Re: [PATCH v2] staging: vt6656: returns error code on vnt_int_start_interrupt fail

From: Greg Kroah-Hartman
Date: Fri May 17 2019 - 03:34:01 EST


On Thu, May 16, 2019 at 11:57:15AM +0000, Quentin Deslandes wrote:
> Returns error code from 'vnt_int_start_interrupt()' so the device's private
> buffers will be correctly freed and 'struct ieee80211_hw' start function
> will return an error code.
>
> Signed-off-by: Quentin Deslandes <quentin.deslandes@xxxxxxxxxxx>
> ---
> drivers/staging/vt6656/int.c | 4 +++-
> drivers/staging/vt6656/int.h | 2 +-
> drivers/staging/vt6656/main_usb.c | 12 +++++++++---
> 3 files changed, 13 insertions(+), 5 deletions(-)

What changed from v1? Always put that below the --- line.

Please fix up and resend a v3.

thanks,

greg k-h