[PATCH v3 0/2] staging: vt6656: Check the return value of vnt_control_out_* calls

From: Oscar Carter
Date: Thu Apr 23 2020 - 11:39:23 EST


This patch series checks the return value of vnt_control_out_* function
calls.

The first patch checks the return value and when necessary modify the
function prototype to be able to return the new checked error code.

The second patch removes the documentation of functions that their
prototype has changed as the function names are clear enought. Also,
the actual documentation is not correct in all cases.

Changelog v1 -> v2
- Remove the function's documentation instead of fix them as suggested
Malcolm Priestley.

Changelog v2 -> v3
- Rebase against the staging-next branch of Greg's staging tree.

Oscar Carter (2):
staging: vt6656: Check the return value of vnt_control_out_* calls
staging: vt6656: Remove functions' documentation

drivers/staging/vt6656/baseband.c | 35 +++---
drivers/staging/vt6656/baseband.h | 4 +-
drivers/staging/vt6656/card.c | 176 +++++++++++-------------------
drivers/staging/vt6656/card.h | 18 +--
drivers/staging/vt6656/mac.c | 128 +++++++---------------
drivers/staging/vt6656/mac.h | 26 ++---
drivers/staging/vt6656/power.c | 22 ++--
drivers/staging/vt6656/power.h | 2 +-
8 files changed, 156 insertions(+), 255 deletions(-)

--
2.20.1