diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-09-11 23:20:07 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-12 00:56:56 +0200 |
commit | bb8e0e84b30afc9827931c9773d75d5c99fcddff (patch) | |
tree | 1d1b6b4135933cc375570f6016d8295299c916f6 /drivers/block/osdblk.c | |
parent | include/linux/sched.h: don't use task->pid/tgid in same_thread_group/has_grou... (diff) | |
download | linux-bb8e0e84b30afc9827931c9773d75d5c99fcddff.tar.xz linux-bb8e0e84b30afc9827931c9773d75d5c99fcddff.zip |
block: 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 'drivers/block/osdblk.c')
-rw-r--r-- | drivers/block/osdblk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/osdblk.c b/drivers/block/osdblk.c index 1bbc681688e4..79aa179305b5 100644 --- a/drivers/block/osdblk.c +++ b/drivers/block/osdblk.c @@ -598,7 +598,7 @@ static ssize_t class_osdblk_remove(struct class *c, unsigned long ul; struct list_head *tmp; - rc = strict_strtoul(buf, 10, &ul); + rc = kstrtoul(buf, 10, &ul); if (rc) return rc; |