Hi Sunil, On Wed, 7 Aug 2024 09:52:10 +0530 Sunil V L <sunilvl@xxxxxxxxxxxxxxxx> wrote: > > diff --git a/drivers/tty/serial/8250/8250_platform.c b/drivers/tty/serial/8250/8250_platform.c > index bdfb16bed4f2..d8c3c169a620 100644 > --- a/drivers/tty/serial/8250/8250_platform.c > +++ b/drivers/tty/serial/8250/8250_platform.c > @@ -108,11 +108,12 @@ void __init serial8250_isa_init_ports(void) > static int serial8250_platform_probe(struct platform_device *pdev) > { > struct device *dev = &pdev->dev; > - struct uart_8250_port uart = { 0 }; > + struct uart_8250_port uart; Does just using "{ }" as an initialiser work without warning? -- Cheers, Stephen Rothwell
Attachment:
pgphlmofeggcS.pgp
Description: OpenPGP digital signature