net: wireless: replace strict_strtoul() with kstrtoul()
The usage of strict_strtoul() is not preferred, because strict_strtoul() is obsolete. Thus, kstrtoul() should be used. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
67d6bfa686
commit
27d7f47756
@@ -240,7 +240,7 @@ static ssize_t lbs_prb_rsp_limit_set(struct device *dev,
|
||||
memset(&mesh_access, 0, sizeof(mesh_access));
|
||||
mesh_access.data[0] = cpu_to_le32(CMD_ACT_SET);
|
||||
|
||||
if (!strict_strtoul(buf, 10, &retry_limit))
|
||||
if (!kstrtoul(buf, 10, &retry_limit))
|
||||
return -ENOTSUPP;
|
||||
if (retry_limit > 15)
|
||||
return -ENOTSUPP;
|
||||
|
Reference in New Issue
Block a user