aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorPeter Hurley <[email protected]>2016-01-10 14:39:34 -0800
committerGreg Kroah-Hartman <[email protected]>2016-01-28 14:07:04 -0800
commitd70a7b1626d64c8c57fb9258a81f427198b60700 (patch)
tree1f5bee23483bbc50d1d49ee3fd13dc23168f1b3b /lib/test-string_helpers.c
parent6a597a38cbaf067019db96645f36e0b1f01f306a (diff)
serial: 8250: Unlink uart console ptr if console setup fails
If console setup fails (eg., there is no valid port at that index), unlink the console ptr; otherwise, when the driver unloads, the console will be unregistered (even though setup, and thus registration, failed) and a console disabled message will be printed. Signed-off-by: Peter Hurley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions