[PATCH 2/4] serial-uclass: fix typo in comment

Andrew Goodbody andrew.goodbody at linaro.org
Mon Jul 7 15:41:02 CEST 2025


On 07/07/2025 14:06, Philip Molloy wrote:
> From: Philip Molloy <philip.molloy at analog.com>
> 
> Signed-off-by: Philip Molloy <philip.molloy at analog.com>
> ---
>   drivers/serial/serial-uclass.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/serial/serial-uclass.c b/drivers/serial/serial-uclass.c
> index a08678dde4e..32108c381a4 100644
> --- a/drivers/serial/serial-uclass.c
> +++ b/drivers/serial/serial-uclass.c
> @@ -109,7 +109,7 @@ static void serial_find_console_or_panic(void)
>   		 * from 1!).
>   		 *
>   		 * Failing that, get the device with sequence number 0, or in
> -		 * extremis just the first working serial device we can find.

That is not a typo. [1]

> +		 * extremes just the first working serial device we can find.

This would be poorer grammar.

>   		 * But we insist on having a console (even if it is silent).
>   		 */
>   #ifdef CONFIG_CONS_INDEX


Andrew

1) https://dictionary.cambridge.org/dictionary/english/in-extremis


More information about the U-Boot mailing list