diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-06-01 16:30:06 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-03 10:30:42 -0700 |
commit | 86b40567b9178d2de8bbc08b04c98c8373ddf194 (patch) | |
tree | a53a85ee6a73d6e1055bfcd7364cb6e54b692cdd /drivers/tty/sysrq.c | |
parent | 1f48c499df414a50e28a4a2b1332ff0e8e1af9a8 (diff) |
tty: replace strict_strtoul() with kstrtoul()
The usage of strict_strtoul() is not preferred, because
strict_strtoul() is obsolete. Thus, kstrtoul() should be
used.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/sysrq.c')
-rw-r--r-- | drivers/tty/sysrq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/sysrq.c b/drivers/tty/sysrq.c index b51c15408ff..5f68f2cfdfd 100644 --- a/drivers/tty/sysrq.c +++ b/drivers/tty/sysrq.c @@ -932,7 +932,7 @@ static int sysrq_reset_seq_param_set(const char *buffer, unsigned long val; int error; - error = strict_strtoul(buffer, 0, &val); + error = kstrtoul(buffer, 0, &val); if (error < 0) return error; |