Re: [PATCH RESEND v2 1/2] serial: earlycon: add uart_clk_freq parameter
From: Greg Kroah-Hartman
Date: Tue Jun 09 2026 - 01:32:22 EST
On Mon, Jun 08, 2026 at 10:40:21PM +0000, Markus Probst wrote:
> Add `uart_clk_freq` parameter to `setup_earlycon`. This allows the
> options string to be reused with `add_preferred_console`, while still
> allowing to set the uart clock frequency. This will be used in the
> following commit ("ACPI: SPCR: Support UART clock frequency field").
Ick, this is bad, now you need to look up what this 0 is as a parameter
every time you see this call. Please just add a new function that takes
the new paramter, don't abuse the old one for this.
thanks,
greg k-h