staging: vt6656: Check the return value of vnt_control_out_* calls
authorOscar Carter <oscar.carter@gmx.com>
Sat, 25 Apr 2020 13:42:56 +0000 (15:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Apr 2020 12:16:49 +0000 (14:16 +0200)
commit81969fd8abc104d0288837409606c4abf527e224
tree7bcffc818c047075963a3e71c9569fff49592342
parent628cbd971a927abe6388d44320e351c337b331e4
staging: vt6656: Check the return value of vnt_control_out_* calls

Check the return value of vnt_control_out_* function calls. When
necessary modify the function prototype to be able to return the new
checked error code.

It's safe to modify all the function prototypes without fix the call
because the only change is the return value from void to int. If before
the call didn't check the return value, now neither.

Signed-off-by: Oscar Carter <oscar.carter@gmx.com>
Link: https://lore.kernel.org/r/20200425134257.4502-2-oscar.carter@gmx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/baseband.c
drivers/staging/vt6656/baseband.h
drivers/staging/vt6656/card.c
drivers/staging/vt6656/card.h
drivers/staging/vt6656/mac.c
drivers/staging/vt6656/mac.h
drivers/staging/vt6656/power.c
drivers/staging/vt6656/power.h