[firefly] [PATCH] strict_strtoul in (obsolete) changed to kstrtoul
Daniel Baluta
daniel.baluta at gmail.com
Thu Jul 11 09:41:32 EEST 2013
On Thu, Jul 11, 2013 at 9:35 AM, “Cosmin <cosmin90stanescu at gmail.com> wrote:
> Signed-off-by: “Cosmin <“cosmin90stanescu at gmail.com”>
> ---
> net/dns_resolver/dns_key.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/net/dns_resolver/dns_key.c b/net/dns_resolver/dns_key.c
> index 0a69d07..f347a2c 100644
> --- a/net/dns_resolver/dns_key.c
> +++ b/net/dns_resolver/dns_key.c
> @@ -118,7 +118,7 @@ dns_resolver_instantiate(struct key *key, struct key_preparsed_payload *prep)
> if (opt_vlen <= 0)
> goto bad_option_value;
>
> - ret = strict_strtoul(eq, 10, &derrno);
> + ret = kstrtoul(eq, 10, &derrno);
> if (ret < 0)
> goto bad_option_value;
>
Looks good. Thanks Cosmin.
More information about the firefly
mailing list