From: Heiko Carstens Date: Mon, 22 Jul 2013 04:43:57 +0000 (+0200) Subject: s390: replace remaining strict_strtoul() with kstrtoul() X-Git-Tag: next-20130731~91^2~10 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=be596f73412eb70082b385fd709c9fa2959d628f;p=karo-tx-linux.git s390: replace remaining strict_strtoul() with kstrtoul() Replace the last two strict_strtoul() with kstrtoul(). Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/kernel/ptrace.c b/arch/s390/kernel/ptrace.c index e9fadb04e3c6..2bc08039140f 100644 --- a/arch/s390/kernel/ptrace.c +++ b/arch/s390/kernel/ptrace.c @@ -1299,7 +1299,7 @@ int regs_query_register_offset(const char *name) if (!name || *name != 'r') return -EINVAL; - if (strict_strtoul(name + 1, 10, &offset)) + if (kstrtoul(name + 1, 10, &offset)) return -EINVAL; if (offset >= NUM_GPRS) return -EINVAL; diff --git a/arch/s390/kernel/vdso.c b/arch/s390/kernel/vdso.c index d7776281cb60..3cf20930574e 100644 --- a/arch/s390/kernel/vdso.c +++ b/arch/s390/kernel/vdso.c @@ -63,7 +63,7 @@ static int __init vdso_setup(char *s) else if (strncmp(s, "off", 4) == 0) vdso_enabled = 0; else { - rc = strict_strtoul(s, 0, &val); + rc = kstrtoul(s, 0, &val); vdso_enabled = rc ? 0 : !!val; } return !rc;