Skip to content

Commit

Permalink
mm : uksm : fix build
Browse files Browse the repository at this point in the history
The usage of strict_strtoul() is not possible, because
strict_strtoul() is no more . Thus, kstrtoul() should be
used.

Signed-off-by: khusika <khusikadhamar@gmail.com>
  • Loading branch information
bsmitty83 authored and khusika committed Sep 10, 2018
1 parent 3ee41b5 commit 8ef5d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/uksm.c
Original file line number Diff line number Diff line change
Expand Up @@ -5308,7 +5308,7 @@ static ssize_t pages_to_scan_store(struct kobject *kobj,
unsigned long pages;
int err;

err = strict_strtoul(buf, 10, &pages);
err = kstrtoul(buf, 10, &pages);
if (err || pages > 1000000)
return -EINVAL;

Expand Down

0 comments on commit 8ef5d94

Please sign in to comment.