summaryrefslogtreecommitdiff
path: root/package/kernel/mac80211
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-27 09:23:18 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-27 09:23:18 +0000
commit72a6c7669e7724e53da5d82272c205f014d7b0f1 (patch)
treefdbce23ccf144c0572aba6ffa7a39415945abece /package/kernel/mac80211
parent3ada8d619de9ab069e18279522ce10b3413701cb (diff)
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')
-rw-r--r--package/kernel/mac80211/patches/512-ath9k_channelbw_debugfs.patch2
-rw-r--r--package/kernel/mac80211/patches/553-ath9k_debugfs_diag.patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/mac80211/patches/512-ath9k_channelbw_debugfs.patch b/package/kernel/mac80211/patches/512-ath9k_channelbw_debugfs.patch
index 681291dc55..d6d1ae2e63 100644
--- a/package/kernel/mac80211/patches/512-ath9k_channelbw_debugfs.patch
+++ b/package/kernel/mac80211/patches/512-ath9k_channelbw_debugfs.patch
@@ -47,7 +47,7 @@
+ return -EFAULT;
+
+ buf[len] = '\0';
-+ if (strict_strtoul(buf, 0, &chan_bw))
++ if (kstrtoul(buf, 0, &chan_bw))
+ return -EINVAL;
+
+ sc->chan_bw = chan_bw;
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;