linuxkm/linuxkm_wc_port.h: add a suppression needed for targeting LTS kernel version 4.14.336.

This commit is contained in:
Daniel Pouzzner 2024-06-18 14:39:44 -05:00
parent eef20ceb51
commit f6f83a20ed

View File

@ -115,6 +115,7 @@
_Pragma("GCC diagnostic ignored \"-Wdiscarded-qualifiers\"");
_Pragma("GCC diagnostic ignored \"-Wtype-limits\"");
_Pragma("GCC diagnostic ignored \"-Wswitch-enum\"");
_Pragma("GCC diagnostic ignored \"-Wcast-function-type\""); /* needed for kernel 4.14.336 */
#include <linux/kconfig.h>
#include <linux/kernel.h>