Searched hist:"27 e8c8b483a8c33bd770b8cf619d43c7a68ddbaa" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/tty/serial/ |
H A D | sifive.c | diff 27e8c8b483a8c33bd770b8cf619d43c7a68ddbaa Sun Sep 26 00:47:26 CEST 2021 Colin Ian King <colin.king@canonical.com> serial: sifive: set pointer to NULL rather than 0.
Clean up the assignment of sifive_serial_console_ports[ssp->port.line], this is a pointer to a struct sifive_serial_port so the assignment should be a NULL rather than a integer 0.
Signed-off-by: Colin Ian King <colin.king@canonical.com> Link: https://lore.kernel.org/r/20210925224726.183360-1-colin.king@canonical.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|