[PATCH v2 0/3] Cleanup error reporting

From: Stefan BrÃns
Date: Sun May 19 2019 - 14:49:19 EST


Almost all error path in dvb_usb_v2_generic_io report a specific
error using dev_err(), only the "writelen != actuallen" case
was omitted. Add an error message.

Remove any extra error reporting from the call sites which was
only required for this case. Only affected drivers are dvbsky
and af9035.

v2: Add Signed-off-by

Stefan BrÃns (3):
media: dvb-usb-v2: Report error on all error paths
media: dvbsky: Remove duplicate error reporting for
dvbsky_usb_generic_rw
media: af9035: Remove duplicate error reporting for
dvbsky_usb_generic_rw

drivers/media/usb/dvb-usb-v2/af9035.c | 2 --
drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c | 15 ++++++++++-----
drivers/media/usb/dvb-usb-v2/dvbsky.c | 11 -----------
3 files changed, 10 insertions(+), 18 deletions(-)

--
2.21.0