diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2013-07-22 00:43:57 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-08-22 06:20:00 -0400 |
commit | 958d9072b691ecd99c5d7c01939edfc6f8ba0269 (patch) | |
tree | 2155d1fa37da410b2b479f69aec7d67a3f2c20ab /arch/s390 | |
parent | 0178722be9ed575d1724f6b815b7a1eb74b1ccb7 (diff) |
s390: replace remaining strict_strtoul() with kstrtoul()
Replace the last two strict_strtoul() with kstrtoul().
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/kernel/ptrace.c | 2 | ||||
-rw-r--r-- | arch/s390/kernel/vdso.c | 2 |
2 files changed, 2 insertions, 2 deletions
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) | |||
1299 | 1299 | ||
1300 | if (!name || *name != 'r') | 1300 | if (!name || *name != 'r') |
1301 | return -EINVAL; | 1301 | return -EINVAL; |
1302 | if (strict_strtoul(name + 1, 10, &offset)) | 1302 | if (kstrtoul(name + 1, 10, &offset)) |
1303 | return -EINVAL; | 1303 | return -EINVAL; |
1304 | if (offset >= NUM_GPRS) | 1304 | if (offset >= NUM_GPRS) |
1305 | return -EINVAL; | 1305 | 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) | |||
63 | else if (strncmp(s, "off", 4) == 0) | 63 | else if (strncmp(s, "off", 4) == 0) |
64 | vdso_enabled = 0; | 64 | vdso_enabled = 0; |
65 | else { | 65 | else { |
66 | rc = strict_strtoul(s, 0, &val); | 66 | rc = kstrtoul(s, 0, &val); |
67 | vdso_enabled = rc ? 0 : !!val; | 67 | vdso_enabled = rc ? 0 : !!val; |
68 | } | 68 | } |
69 | return !rc; | 69 | return !rc; |