public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: Satoru Moriya <satoru.moriya@hds.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Seiji Aguchi <seiji.aguchi@hds.com>,
	"dle-develop\@lists.sourceforge.net" 
	<dle-develop@lists.sourceforge.net>
Subject: Re: [PATCH][BUGFIX] param: fix return value handling in param_set_*
Date: Sun, 29 May 2011 15:03:26 +0930	[thread overview]
Message-ID: <87fwnyjck9.fsf@rustcorp.com.au> (raw)
In-Reply-To: <65795E11DBF1E645A09CEC7EAEE94B9C3FF808C5@USINDEVS02.corp.hds.com>

On Thu, 26 May 2011 19:38:04 -0400, Satoru Moriya <satoru.moriya@hds.com> wrote:
> In STANDARD_PARAM_DEF, param_set_* handles the case in which strtolfn
> returns -EINVAL but it may return -ERANGE. If it returns -ERANGE,
> param_set_* may set uninitialized value to the paramerter. We should handle
> both cases.
> 
> The one of the cases in which strtolfn() returns -ERANGE is following:
> 
>  *Type of module parameter is long
>  *Set the parameter more than LONG_MAX
> 
> Signed-off-by: Satoru Moriya <satoru.moriya@hds.com>

Thanks, applied.

Cheers,
Rusty.

      reply	other threads:[~2011-05-30  1:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-26 23:38 [PATCH][BUGFIX] param: fix return value handling in param_set_* Satoru Moriya
2011-05-29  5:33 ` Rusty Russell [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=87fwnyjck9.fsf@rustcorp.com.au \
    --to=rusty@rustcorp.com.au \
    --cc=dle-develop@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=satoru.moriya@hds.com \
    --cc=seiji.aguchi@hds.com \
    /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