Commit 86b40567b9178d2de8bbc08b04c98c8373ddf194

Authored by Jingoo Han
Committed by Greg Kroah-Hartman
1 parent 1f48c499df

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>

Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff

drivers/tty/hvc/hvc_iucv.c
... ... @@ -1328,7 +1328,7 @@
1328 1328 */
1329 1329 static int __init hvc_iucv_config(char *val)
1330 1330 {
1331   - return strict_strtoul(val, 10, &hvc_iucv_devices);
  1331 + return kstrtoul(val, 10, &hvc_iucv_devices);
1332 1332 }
1333 1333  
1334 1334  
... ... @@ -932,7 +932,7 @@
932 932 unsigned long val;
933 933 int error;
934 934  
935   - error = strict_strtoul(buffer, 0, &val);
  935 + error = kstrtoul(buffer, 0, &val);
936 936 if (error < 0)
937 937 return error;
938 938