summaryrefslogtreecommitdiff
path: root/net/sunrpc/auth.c
diff options
context:
space:
mode:
authorDaniel Walter <dwalter@google.com>2014-06-21 16:06:38 +0400
committerTrond Myklebust <trond.myklebust@primarydata.com>2014-07-13 02:45:49 +0400
commit00cfaa943ec30abbc7109b0b918e0b6a0eef07dc (patch)
treefd38ea6ee80a06878204279184361ffd846155bc /net/sunrpc/auth.c
parent002160269fcc73a01ca3889d3011afc9b63a53bd (diff)
downloadlinux-00cfaa943ec30abbc7109b0b918e0b6a0eef07dc.tar.xz
replace strict_strto calls
Replace obsolete strict_strto calls with appropriate kstrto calls Signed-off-by: Daniel Walter <dwalter@google.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'net/sunrpc/auth.c')
-rw-r--r--net/sunrpc/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/auth.c b/net/sunrpc/auth.c
index 1481efff6aa2..2bc7bb82b162 100644
--- a/net/sunrpc/auth.c
+++ b/net/sunrpc/auth.c
@@ -48,7 +48,7 @@ static int param_set_hashtbl_sz(const char *val, const struct kernel_param *kp)
if (!val)
goto out_inval;
- ret = strict_strtoul(val, 0, &num);
+ ret = kstrtoul(val, 0, &num);
if (ret == -EINVAL)
goto out_inval;
nbits = fls(num);