diff options
author | Daniel Walter <dwalter@google.com> | 2014-08-08 14:24:01 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-08 15:57:28 -0700 |
commit | 1618bd53e6f43918f90ca04a4fcaf664b0a78749 (patch) | |
tree | 1e120c2e094193d32b8d5e94118d4bf5dafb41b2 /arch/powerpc/kernel/vio.c | |
parent | 37028623d78c7289af0a044202a16c1dd0482b6e (diff) | |
download | linux-1618bd53e6f43918f90ca04a4fcaf664b0a78749.tar.gz linux-1618bd53e6f43918f90ca04a4fcaf664b0a78749.tar.bz2 linux-1618bd53e6f43918f90ca04a4fcaf664b0a78749.zip |
arch/powerpc: replace obsolete strict_strto* calls
Replace strict_strto calls with more appropriate kstrto calls
Signed-off-by: Daniel Walter <dwalter@google.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/powerpc/kernel/vio.c')
-rw-r--r-- | arch/powerpc/kernel/vio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/vio.c b/arch/powerpc/kernel/vio.c index 904c66128fae..5bfdab9047be 100644 --- a/arch/powerpc/kernel/vio.c +++ b/arch/powerpc/kernel/vio.c @@ -977,7 +977,7 @@ static ssize_t viodev_cmo_desired_set(struct device *dev, size_t new_desired; int ret; - ret = strict_strtoul(buf, 10, &new_desired); + ret = kstrtoul(buf, 10, &new_desired); if (ret) return ret; |