KSPP / linux

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

Address -Wzero-length-array warnings reported by Clang #197

Closed GustavoARSilva closed 4 months ago

GustavoARSilva commented 2 years ago

Address (when possible) warnings reported after building the kernel with Clang-15 (I haven't tried this with older versions) and -Wzero-length-array enabled.

Currently, there are many warnings about zero-length arrays due to their declaration in structures and unions in multiple header files (.h files).