diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-09-11 14:20:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-11 15:56:56 -0700 |
commit | bb8e0e84b30afc9827931c9773d75d5c99fcddff (patch) | |
tree | 1d1b6b4135933cc375570f6016d8295299c916f6 /drivers/block/xen-blkback | |
parent | e1403b8edf669ff49bbdf602cc97fefa2760cb15 (diff) | |
download | op-kernel-dev-bb8e0e84b30afc9827931c9773d75d5c99fcddff.zip op-kernel-dev-bb8e0e84b30afc9827931c9773d75d5c99fcddff.tar.gz |
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/xen-blkback')
-rw-r--r-- | drivers/block/xen-blkback/xenbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/xen-blkback/xenbus.c b/drivers/block/xen-blkback/xenbus.c index fe5c3cd..c2014a0 100644 --- a/drivers/block/xen-blkback/xenbus.c +++ b/drivers/block/xen-blkback/xenbus.c @@ -620,7 +620,7 @@ static void backend_changed(struct xenbus_watch *watch, } /* Front end dir is a number, which is used as the handle. */ - err = strict_strtoul(strrchr(dev->otherend, '/') + 1, 0, &handle); + err = kstrtoul(strrchr(dev->otherend, '/') + 1, 0, &handle); if (err) return; |