summaryrefslogtreecommitdiffstats
path: root/mm/kmemleak.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-09-11 14:20:25 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-11 15:57:11 -0700
commit3dbb95f7895e378514ffefa93cc887fb1bc9df94 (patch)
tree486dc488c1179eba79a1c3a9e31552b62a03290b /mm/kmemleak.c
parent6df46865ff8715932e7d42e52cac17e8461758cb (diff)
downloadlinux-3dbb95f7895e378514ffefa93cc887fb1bc9df94.tar.bz2
mm: replace strict_strtoul() with kstrtoul()
The use of strict_strtoul() is not preferred, because strict_strtoul() is obsolete. Thus, kstrtoul() should be used. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/kmemleak.c')
-rw-r--r--mm/kmemleak.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/kmemleak.c b/mm/kmemleak.c
index c8d7f3110fd0..e126b0ef9ad2 100644
--- a/mm/kmemleak.c
+++ b/mm/kmemleak.c
@@ -1639,7 +1639,7 @@ static ssize_t kmemleak_write(struct file *file, const char __user *user_buf,
else if (strncmp(buf, "scan=", 5) == 0) {
unsigned long secs;
- ret = strict_strtoul(buf + 5, 0, &secs);
+ ret = kstrtoul(buf + 5, 0, &secs);
if (ret < 0)
goto out;
stop_scan_thread();