summaryrefslogtreecommitdiff
path: root/drivers/media/usb/cpia2
diff options
context:
space:
mode:
authorStefan Brüns <stefan.bruens@rwth-aachen.de>2019-05-19 07:18:29 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-05-22 15:29:41 -0400
commitdd5f551b58a8b557fd7fc93f238dc0dc29526e32 (patch)
treecb484e39bd942e1b4025363a179b674a1311e839 /drivers/media/usb/cpia2
parent6d0d1ff9ff21fbb06b867c13a1d41ce8ddcd8230 (diff)
media: dvb-usb-v2: Report error on all error paths
actual_length != wlen is the only error path which does not generate an error message. Adding an error message here allows to report a more specific error and to remove the error reporting from the call sites. Also clean up the error paths - in case of an error, the remaining code is skipped, and ret is returned. Skip setting ret and return immediately (no cleanup necessary). Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/usb/cpia2')
0 files changed, 0 insertions, 0 deletions