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

Stephen Rothwell
2024-08-07T03:44:28Z

[-- Attachment #1: Type: text/plain, Size: 667 bytes --]

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]