• Russell King's avatar
    [SERIAL] Fix missing NULL check · 59debc62
    Russell King authored
    tty->driver_data or state->port may end up being NULL in uart_close.
    Make sure that we correctly clean up in this case, rather than
    oopsing.
    59debc62
serial_core.c 58.1 KB