From: "Jörn Engel" <joern@logfs.org>
To: Mike Frysinger <vapier@gentoo.org>
Cc: linux-mtd@lists.infradead.org, joern@lazybastard.org
Subject: Re: [PATCH] [MTD] phram: cleanup error handling and associated messages
Date: Wed, 17 Jun 2009 13:24:50 +0200 [thread overview]
Message-ID: <20090617112450.GA29067@logfs.org> (raw)
In-Reply-To: <1245235818-22649-1-git-send-email-vapier@gentoo.org>
On Wed, 17 June 2009 06:50:18 -0400, Mike Frysinger wrote:
>
> The error handling in the phram driver is pretty bad -- in many places,
> errors are silently ignored or logged, but then still ignored in the
> return value. So convert all of the code to pass back the correct return
> value and log error messages properly (and using the new pr_fmt() helper).
I don't remember why I always returned 0 in phram_setup. Could well
have been an oversight.
> If everything does go smoothly, rather than exit silently, dump a helpful
> info message like pretty much every other MTD driver does.
>
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Joern Engel <joern@logfs.org>
Care to take over maintainership? I haven't used this driver in ages
and don't foresee using it anytime soon.
Jörn
--
You cannot suppose that Moliere ever troubled himself to be original in the
matter of ideas. You cannot suppose that the stories he tells in his plays
have never been told before. They were culled, as you very well know.
-- Andre-Louis Moreau in Scarabouche
next prev parent reply other threads:[~2009-06-17 11:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-17 10:50 [PATCH] [MTD] phram: cleanup error handling and associated messages Mike Frysinger
2009-06-17 11:24 ` Jörn Engel [this message]
2009-06-17 11:49 ` Mike Frysinger
2009-06-17 11:58 ` Jörn Engel
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=20090617112450.GA29067@logfs.org \
--to=joern@logfs.org \
--cc=joern@lazybastard.org \
--cc=linux-mtd@lists.infradead.org \
--cc=vapier@gentoo.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.