Re: [PATCH v3 2/7] serial: txx9: Drop usage of uart_match_port()

Atsushi Nemoto <[email protected]>
Newsgroups gmane.linux.serial,gmane.linux.kernel
Message-ID <[email protected]>
On Fri, 14 Aug 2026 11:19:28 +0200, Uwe Kleine-König (The Capable Hub) <[email protected]> wrote:
> -		if (uart_match_port(uart, port)) {
> +		/*
> +		 * serial_txx9_register_port() is only called from
> +		 * pciserial_txx9_init_one(). So .iotype is UPIO_PORT and
> +		 * comparing .iobase serves to distinguish ports.
> +		 */
> +		if (uart->iobase == port->iobase) {

Thank you for adding this comment.

Reviewed-by: Atsushi Nemoto <[email protected]>

---
Atsushi Nemoto
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.