aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorRandy Dunlap <[email protected]>2022-03-07 18:42:28 -0800
committerGreg Kroah-Hartman <[email protected]>2022-03-18 13:09:57 +0100
commit53819a0d97aace1425bb042829e3446952a9e8a9 (patch)
tree144e81b9bbc8a038efdb90c2a117685aff2987e8 /net/lapb/lapb_subr.c
parent3631e48df0dbfcce3b08f0ccafcaa587657379cd (diff)
tty: hvc: fix return value of __setup handler
__setup() handlers should return 1 to indicate that the boot option has been handled or 0 to indicate that it was not handled. Add a pr_warn() message if the option value is invalid and then always return 1. Link: lore.kernel.org/r/[email protected] Fixes: 86b40567b917 ("tty: replace strict_strtoul() with kstrtoul()") Cc: Jingoo Han <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Jiri Slaby <[email protected]> Cc: Michael Ellerman <[email protected]> Cc: Julian Wiedmann <[email protected]> Cc: Vasily Gorbik <[email protected]> Cc: [email protected] Reported-by: Igor Zhbanov <[email protected]> Signed-off-by: Randy Dunlap <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions