From: Masahiro Yamada <yamada.m@jp.panasonic.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] param: add error check to __dev_add_param()
Date: Thu, 29 Jan 2015 18:15:11 +0900 [thread overview]
Message-ID: <20150129181509.3DA2.AA925319@jp.panasonic.com> (raw)
In-Reply-To: <20150129085623.GY12209@pengutronix.de>
Hi Sascha,
On Thu, 29 Jan 2015 09:56:23 +0100
Sascha Hauer <s.hauer@pengutronix.de> wrote:
> On Thu, Jan 29, 2015 at 11:42:36AM +0900, Masahiro Yamada wrote:
> > If the argument, name is given with NULL, it would be probably
> > unexpected behavior. It should fail rather than register the
> > NULL-named parameter.
> >
> > If strdup() fails with out-of-memory, it should also fail
> > with -ENOMEM.
>
> Applied, thanks
>
> Sascha
Uh, this has been superseded by v2.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2015-01-29 9:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-29 2:42 Masahiro Yamada
2015-01-29 8:56 ` Sascha Hauer
2015-01-29 9:15 ` Masahiro Yamada [this message]
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=20150129181509.3DA2.AA925319@jp.panasonic.com \
--to=yamada.m@jp.panasonic.com \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
/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