lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 4 Dec 2022 10:39:09 +0000 From: <Tharunkumar.Pasumarthi@...rochip.com> To: <ilpo.jarvinen@...ux.intel.com>, <Kumaravel.Thiagarajan@...rochip.com> CC: <linux-kernel@...r.kernel.org>, <linux-serial@...r.kernel.org>, <gregkh@...uxfoundation.org>, <jirislaby@...nel.org>, <andriy.shevchenko@...ux.intel.com>, <macro@...am.me.uk>, <jay.dolan@...esio.com>, <cang1@...e.co.uk>, <u.kleine-koenig@...gutronix.de>, <wander@...hat.com>, <etremblay@...tech-controls.com>, <jk@...abs.org>, <biju.das.jz@...renesas.com>, <geert+renesas@...der.be>, <phil.edworthy@...esas.com>, <lukas@...ner.de>, <UNGLinuxDriver@...rochip.com>, <colin.i.king@...il.com> Subject: RE: [PATCH v6 tty-next 2/4] serial: 8250_pci1xxxx: Add driver for quad-uart support. > From: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com> > Sent: Thursday, December 1, 2022 3:10 PM > To: Kumaravel Thiagarajan - I21417 > <Kumaravel.Thiagarajan@...rochip.com> > 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
Powered by blists - more mailing lists