Skip to content

Commit 690cce6

Browse files
committed
linuxkm/linuxkm_wc_port.h: add -Wattributes to suppression list while including kernel headers.
1 parent 64ebc34 commit 690cce6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

linuxkm/linuxkm_wc_port.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@
264264
_Pragma("GCC diagnostic ignored \"-Wswitch-enum\"");
265265
_Pragma("GCC diagnostic ignored \"-Wcast-function-type\""); /* needed for kernel 4.14.336 */
266266
_Pragma("GCC diagnostic ignored \"-Wformat-nonliteral\""); /* needed for kernel 4.9.282 */
267+
_Pragma("GCC diagnostic ignored \"-Wattributes\"");
267268

268269
#include <linux/kconfig.h>
269270

0 commit comments

Comments
 (0)