Skip to content

Commit

Permalink
net: strict_strtoul is obsolete, use kstrtoul instead
Browse files Browse the repository at this point in the history
patch found using checkpatch.pl

Signed-off-by: Cosmin Stanescu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
cosmin21gs authored and davem330 committed Jul 12, 2013
1 parent fdb7027 commit 92338dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/dns_resolver/dns_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 92338dc

Please sign in to comment.