s390: replace remaining strict_strtoul() with kstrtoul()
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 22 Jul 2013 04:43:57 +0000 (06:43 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 22 Aug 2013 10:20:00 +0000 (12:20 +0200)
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>
arch/s390/kernel/ptrace.c
arch/s390/kernel/vdso.c

index e9fadb04e3c61e0b71b6eb238a12941359edba0d..2bc08039140f651cc596e2ac10fb52686adb6460 100644 (file)
@@ -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;
index d7776281cb60ff0cd2738ab9c949d68c6f805d1f..3cf20930574ece5f6c23c704e0815678629be6a3 100644 (file)
@@ -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;