linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Cleanup error reporting
@ 2019-05-19 11:18 Stefan Brüns
  0 siblings, 0 replies; only message in thread
From: Stefan Brüns @ 2019-05-19 11:18 UTC (permalink / raw)
  To: linux-media
  Cc: linux-kernel, Mauro Carvalho Chehab, Antti Palosaari, Sean Young,
	Stefan Brüns

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-05-19 18:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-19 11:18 [PATCH v2 0/3] Cleanup error reporting Stefan Brüns

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).