RE: [PATCH v8 tty-next 2/4] serial: 8250_pci1xxxx: Add driver for quad-uart support

From: Tharunkumar.Pasumarthi
Date: Wed Dec 14 2022 - 05:57:35 EST


> From: Jiri Slaby <jirislaby@xxxxxxxxxx>
> Sent: Monday, December 12, 2022 1:15 PM
> To: Kumaravel Thiagarajan - I21417
> <Kumaravel.Thiagarajan@xxxxxxxxxxxxx>; linux-kernel@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH v8 tty-next 2/4] serial: 8250_pci1xxxx: Add driver for
> quad-uart support
>
> > + static int logical_to_physical_port_idx[][MAX_PORTS] = {
>
> const unsigned.
>
> > + {0, 1, 2, 3},/* PCI12000 PCI11010 PCI11101 PCI11400 PCI11414 */
> > + {0, 1, 2, 3},/* PCI4p */
> > + {0, 1, 2, -1},/* PCI3p012 */

Hi Jiri,
This array contains negative values. Thereby, not using unsigned.

Thanks,
Tharun Kumar P