Re: [PATCH 1/1] tty: serial: handle HAS_IOPORT dependencies
From: Arnd Bergmann
Date: Mon Nov 25 2024 - 10:59:30 EST
On Mon, Nov 25, 2024, at 12:06, Arnd Bergmann wrote:
> +unsigned int nr_uarts = ARRAY_SIZE(old_serial_port);;
> +
Unfortunately, this breaks on non-x86 because of the check
added in 59cfc45f17d6 ("serial: 8250: Do nothing if nr_uarts=0").
I still think it's the right idea, but need to unwind further
to make this possible, and find a different fix for the bug
from that commit.
Arnd