KSPP / linux

Linux kernel source tree (Kernel Self Protection Project)
https://kernsec.org/wiki/index.php/Kernel_Self_Protection_Project
Other
80 stars 5 forks source link

Use DECLARE_FLEX_ARRAY() helper in drivers/input/keyboard/applespi.c #219

Closed GustavoARSilva closed 1 year ago

GustavoARSilva commented 1 year ago
c
--- ./drivers/input/keyboard/applespi.c
+++ /tmp/nothing/drivers/input/keyboard/applespi.c
@@ -311,7 +311,6 @@ struct message {
                struct command_protocol_mt_init init_mt_command;
                struct command_protocol_capsl   capsl_command;
                struct command_protocol_bl      bl_command;
-               u8                              data[0];
        };
 };