summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/dfs_debug.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-05-31 23:24:06 +0200
committerDavid S. Miller <davem@davemloft.net>2013-06-03 09:39:46 +0200
commit27d7f47756f40fb1bc3159e09217f740f5c5b5b1 (patch)
treec4f2d3368efab3eaf4bb6bca9499a62dd688e131 /drivers/net/wireless/ath/ath9k/dfs_debug.c
parentnet: ethernet: replace strict_strtoul() with kstrtoul() (diff)
downloadlinux-27d7f47756f40fb1bc3159e09217f740f5c5b5b1.tar.xz
linux-27d7f47756f40fb1bc3159e09217f740f5c5b5b1.zip
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/dfs_debug.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/dfs_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/dfs_debug.c b/drivers/net/wireless/ath/ath9k/dfs_debug.c
index b7611b7bbe43..3c6e4138a95d 100644
--- a/drivers/net/wireless/ath/ath9k/dfs_debug.c
+++ b/drivers/net/wireless/ath/ath9k/dfs_debug.c
@@ -96,7 +96,7 @@ static ssize_t write_file_dfs(struct file *file, const char __user *user_buf,
return -EFAULT;
buf[len] = '\0';
- if (strict_strtoul(buf, 0, &val))
+ if (kstrtoul(buf, 0, &val))
return -EINVAL;
if (val == DFS_STATS_RESET_MAGIC)