diff options
author | John Crispin <blogic@openwrt.org> | 2013-07-27 09:23:18 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-07-27 09:23:18 +0000 |
commit | 023ed9c87c741742095b291a06b5862c57b24ff6 (patch) | |
tree | fdbce23ccf144c0572aba6ffa7a39415945abece /package/kernel/mac80211/patches/553-ath9k_debugfs_diag.patch | |
parent | 27b62a86298b68b6777fa73cbac9a46e3b6d6599 (diff) | |
download | upstream-023ed9c87c741742095b291a06b5862c57b24ff6.tar.gz upstream-023ed9c87c741742095b291a06b5862c57b24ff6.tar.bz2 upstream-023ed9c87c741742095b291a06b5862c57b24ff6.zip |
strict_strtoul is obsolete, use kstrtoul instead
based on http://patchwork.openwrt.org/patch/3827/
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37562 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/patches/553-ath9k_debugfs_diag.patch')
-rw-r--r-- | package/kernel/mac80211/patches/553-ath9k_debugfs_diag.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/mac80211/patches/553-ath9k_debugfs_diag.patch b/package/kernel/mac80211/patches/553-ath9k_debugfs_diag.patch index db380b0814..7cf1c2a3fd 100644 --- a/package/kernel/mac80211/patches/553-ath9k_debugfs_diag.patch +++ b/package/kernel/mac80211/patches/553-ath9k_debugfs_diag.patch @@ -30,7 +30,7 @@ + return -EFAULT; + + buf[len] = '\0'; -+ if (strict_strtoul(buf, 0, &diag)) ++ if (kstrtoul(buf, 0, &diag)) + return -EINVAL; + + ah->diag = diag; |