From: Jingoo Han Date: Wed, 5 Feb 2014 02:49:36 +0000 (+0900) Subject: Staging: rtl8812ae: replace strict_strtoul() with kstrtoul() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2ec1cb760582f8e666fb493ed1ccec7d5cc3d8c6;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Staging: rtl8812ae: 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8821ae/base.c b/drivers/staging/rtl8821ae/base.c index 30b3d3982703..da04f034e114 100644 --- a/drivers/staging/rtl8821ae/base.c +++ b/drivers/staging/rtl8821ae/base.c @@ -1715,7 +1715,7 @@ static ssize_t rtl_store_debug_level(struct device *d, unsigned long val; int ret; - ret = strict_strtoul(buf, 0, &val); + ret = kstrtoul(buf, 0, &val); if (ret) { printk(KERN_DEBUG "%s is not in hex or decimal form.\n", buf); } else {