projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
strict_strtoul is obsolete, use kstrtoul instead
[openwrt/openwrt.git]
/
package
/
kernel
/
mac80211
/
patches
/
553-ath9k_debugfs_diag.patch
diff --git
a/package/kernel/mac80211/patches/553-ath9k_debugfs_diag.patch
b/package/kernel/mac80211/patches/553-ath9k_debugfs_diag.patch
index db380b081429c9c88a691e9306de66c135c8180f..7cf1c2a3fd202a13f9756a8732190c6ca63dcb63 100644
(file)
--- 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 (
k
strtoul(buf, 0, &diag))
+ return -EINVAL;
+
+ ah->diag = diag;