We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a0be6a commit 69f236bCopy full SHA for 69f236b
1 file changed
linuxkm/linuxkm_wc_port.h
@@ -226,7 +226,7 @@
226
_Pragma("GCC diagnostic push");
227
228
/* we include all the needed kernel headers with these masked out. else
229
- * there are profuse warnings.
+ * there are profuse warnings, especially on older kernels.
230
*/
231
_Pragma("GCC diagnostic ignored \"-Wunused-parameter\"");
232
_Pragma("GCC diagnostic ignored \"-Wpointer-arith\"");
@@ -240,6 +240,7 @@
240
_Pragma("GCC diagnostic ignored \"-Wtype-limits\"");
241
_Pragma("GCC diagnostic ignored \"-Wswitch-enum\"");
242
_Pragma("GCC diagnostic ignored \"-Wcast-function-type\""); /* needed for kernel 4.14.336 */
243
+ _Pragma("GCC diagnostic ignored \"-Wformat-nonliteral\""); /* needed for kernel 4.9.282 */
244
245
#include <linux/kconfig.h>
246
0 commit comments