strict_strtoul is obsolete, use kstrtoul instead
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / 553-ath9k_debugfs_diag.patch
index db380b081429c9c88a691e9306de66c135c8180f..7cf1c2a3fd202a13f9756a8732190c6ca63dcb63 100644 (file)
@@ -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;