Message ID | alpine.DEB.2.22.394.2103091516020.2892@hadrien |
---|---|
State | New |
Headers | show |
Series | [v2] tty: max310x: fix flexible_array.cocci warnings | expand |
--- a/drivers/tty/serial/max310x.c +++ b/drivers/tty/serial/max310x.c @@ -273,7 +273,7 @@ struct max310x_port { #ifdef CONFIG_GPIOLIB struct gpio_chip gpio; #endif - struct max310x_one p[0]; + struct max310x_one p[]; }; static struct uart_driver max310x_uart = {