linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Stefan Brüns" <stefan.bruens@rwth-aachen.de>
To: <linux-media@vger.kernel.org>
Cc: linux-kernel@vger.kernel.org,
	"Mauro Carvalho Chehab" <mchehab@kernel.org>,
	"Antti Palosaari" <crope@iki.fi>,
	"Stefan Brüns" <stefan.bruens@rwth-aachen.de>
Subject: [PATCH 0/3] Cleanup error reporting
Date: Fri, 12 Apr 2019 03:12:57 +0200	[thread overview]
Message-ID: <e8680c51-0bcd-4ef2-b117-cf122259062e@rwthex-w2-a.rwth-ad.de> (raw)

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.

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


                 reply	other threads:[~2019-04-12  1:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e8680c51-0bcd-4ef2-b117-cf122259062e@rwthex-w2-a.rwth-ad.de \
    --to=stefan.bruens@rwth-aachen.de \
    --cc=crope@iki.fi \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).