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

From: Tharunkumar.Pasumarthi
Date: Sun Dec 04 2022 - 05:39:24 EST


> From: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
> Sent: Thursday, December 1, 2022 3:10 PM
> To: Kumaravel Thiagarajan - I21417
> <Kumaravel.Thiagarajan@xxxxxxxxxxxxx>
> Subject: Re: [PATCH v6 tty-next 2/4] serial: 8250_pci1xxxx: Add driver for
> quad-uart support.
>
> > + {3, -1, -1, -1} /* PCI1p3 */
>
> Add comma also to the last item.
>
> This array can go outside of function's scope.

Okay, I will create a new function get_physical_port and declare static array inside the function.
I will call the function to get value from the array whenever required. The scope of the function
Will be throughout the file.

Thanks,
Tharun Kumar P