linux-next: build warning after merge of the tty tree

From: Stephen Rothwell
Date: Tue Aug 06 2024 - 23:45:35 EST


Hi all,

After merging the tty tree, today's linux-next build (powerpc
ppc44x_defconfig) produced this warning:

drivers/tty/serial/8250/8250_platform.c: In function 'serial8250_platform_probe':
drivers/tty/serial/8250/8250_platform.c:111:40: warning: excess elements in struct initializer
111 | struct uart_8250_port uart = { 0 };
| ^
drivers/tty/serial/8250/8250_platform.c:111:40: note: (near initialization for 'uart.port.lock.<anonymous>.rlock.raw_lock')

Introduced by commit

d9e5a0ce2f16 ("serial: 8250_platform: Enable generic 16550A platform devices")

--
Cheers,
Stephen Rothwell

Attachment: pgpxNWzFGZNGu.pgp
Description: OpenPGP digital signature