diff options
author | Ricardo Ribalda <ribalda@chromium.org> | 2022-11-24 13:39:08 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-19 14:56:44 +0100 |
commit | 41000b03af9e15075061cdbeea461cfa5e12a8eb (patch) | |
tree | 191cd7fd154feeba39cb9f360aa9fbbc69aceaba | |
parent | 374b30f27f1ae5a88c7f2868ec4abff9fc14d679 (diff) |
earlycon: Increase options size
Now that the clock frequency is also part of the options, 16 bytes is
too little.
Without this patch dmesg does not show the whole options, Eg:
earlycon: uart0 at MMIO32 0x00000000fedc9000 (options '115200n8,480000')
instead of: '115200n8,48000000'
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20221123-serial-clk-v3-2-49c516980ae0@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | include/linux/serial_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index fd59f600094a..026294c6ccb8 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h @@ -781,7 +781,7 @@ static inline int uart_poll_timeout(struct uart_port *port) struct earlycon_device { struct console *con; struct uart_port port; - char options[16]; /* e.g., 115200n8 */ + char options[32]; /* e.g., 115200n8 */ unsigned int baud; }; |