aio: nullify aio->ring_pages after freeing it
[platform/adaptation/renesas_rcar/renesas_kernel.git] / kernel / ksysfs.c
index 6ada93c..9659d38 100644 (file)
@@ -113,7 +113,7 @@ static ssize_t kexec_crash_size_store(struct kobject *kobj,
        unsigned long cnt;
        int ret;
 
-       if (strict_strtoul(buf, 0, &cnt))
+       if (kstrtoul(buf, 0, &cnt))
                return -EINVAL;
 
        ret = crash_shrink_memory(cnt);