summaryrefslogtreecommitdiff
path: root/arch/s390/kernel/ptrace.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2013-07-22 08:43:57 +0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-08-22 14:20:00 +0400
commit958d9072b691ecd99c5d7c01939edfc6f8ba0269 (patch)
tree2155d1fa37da410b2b479f69aec7d67a3f2c20ab /arch/s390/kernel/ptrace.c
parent0178722be9ed575d1724f6b815b7a1eb74b1ccb7 (diff)
downloadlinux-958d9072b691ecd99c5d7c01939edfc6f8ba0269.tar.xz
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/kernel/ptrace.c')
-rw-r--r--arch/s390/kernel/ptrace.c2
1 files changed, 1 insertions, 1 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)
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;