Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 86b40567 authored by Jingoo Han's avatar Jingoo Han Committed by Greg Kroah-Hartman
Browse files

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: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1f48c499
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1328,7 +1328,7 @@ out_error:
 */
static	int __init hvc_iucv_config(char *val)
{
	 return strict_strtoul(val, 10, &hvc_iucv_devices);
	 return kstrtoul(val, 10, &hvc_iucv_devices);
}


+1 −1
Original line number Diff line number Diff line
@@ -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;