diff options
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, | |||
977 | size_t new_desired; | 977 | size_t new_desired; |
978 | int ret; | 978 | int ret; |
979 | 979 | ||
980 | ret = strict_strtoul(buf, 10, &new_desired); | 980 | ret = kstrtoul(buf, 10, &new_desired); |
981 | if (ret) | 981 | if (ret) |
982 | return ret; | 982 | return ret; |
983 | 983 | ||