From f6f83a20ed0e1093741697c06b4202ccc366e671 Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Tue, 18 Jun 2024 14:39:44 -0500 Subject: [PATCH] linuxkm/linuxkm_wc_port.h: add a suppression needed for targeting LTS kernel version 4.14.336. --- linuxkm/linuxkm_wc_port.h | 1 + 1 file changed, 1 insertion(+) diff --git a/linuxkm/linuxkm_wc_port.h b/linuxkm/linuxkm_wc_port.h index 6bb0ae2ec8..dce26dc37f 100644 --- a/linuxkm/linuxkm_wc_port.h +++ b/linuxkm/linuxkm_wc_port.h @@ -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 #include