linuxkm/module_hooks.c: suppress -Wunused-parameter when including crypto/hash.h (for RHEL 9.6).

This commit is contained in:
Daniel Pouzzner
2025-08-07 17:09:10 -05:00
parent 8bd4fb52c8
commit a01d4c2d5f

View File

@@ -837,6 +837,7 @@ static int set_up_wolfssl_linuxkm_pie_redirect_table(void) {
PRAGMA_GCC_DIAG_PUSH
PRAGMA_GCC("GCC diagnostic ignored \"-Wnested-externs\"")
PRAGMA_GCC("GCC diagnostic ignored \"-Wpointer-arith\"")
PRAGMA_GCC("GCC diagnostic ignored \"-Wunused-parameter\"")
#include <crypto/hash.h>
PRAGMA_GCC_DIAG_POP