[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87fwnyjck9.fsf@rustcorp.com.au>
Date: Sun, 29 May 2011 15:03:26 +0930
From: Rusty Russell <rusty@...tcorp.com.au>
To: Satoru Moriya <satoru.moriya@....com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Cc: Seiji Aguchi <seiji.aguchi@....com>,
"dle-develop\@lists.sourceforge.net"
<dle-develop@...ts.sourceforge.net>
Subject: Re: [PATCH][BUGFIX] param: fix return value handling in param_set_*
On Thu, 26 May 2011 19:38:04 -0400, Satoru Moriya <satoru.moriya@....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@....com>
Thanks, applied.
Cheers,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists