--- zzzz-none-000/linux-3.10.107/drivers/misc/isl29020.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/misc/isl29020.c 2021-02-04 17:41:59.000000000 +0000 @@ -23,7 +23,6 @@ */ #include -#include #include #include #include @@ -90,8 +89,10 @@ int ret_val; unsigned long val; - if (strict_strtoul(buf, 10, &val)) - return -EINVAL; + ret_val = kstrtoul(buf, 10, &val); + if (ret_val) + return ret_val; + if (val < 1 || val > 64000) return -EINVAL;