lkml.org 
[lkml]   [2019]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] Cleanup error reporting
Date
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

\
 
 \ /
  Last update: 2019-05-19 20:48    [W:0.020 / U:4.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site