Commit 61e3f32c authored by Julia Lawall's avatar Julia Lawall Committed by John W. Linville

net/mac80211/debugfs.c: use kstrtoul, etc

Use kstrtoul, etc instead of the now deprecated strict_strtoul, etc.

A semantic patch rule for the kstrtoul case is as follows:

// <smpl>
expression a,b;
{int,long} *c;

// </smpl>
Signed-off-by: default avatarJulia Lawall <>
Signed-off-by: default avatarJohn W. Linville <>
parent a729cff8
......@@ -190,7 +190,7 @@ static ssize_t uapsd_max_sp_len_write(struct file *file,
return -EFAULT;
buf[len] = '\0';
ret = strict_strtoul(buf, 0, &val);
ret = kstrtoul(buf, 0, &val);
if (ret)
return -EINVAL;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment