diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-04-08 00:01:28 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-04-08 00:01:28 +0000 |
commit | c9bbf99be03803394b415567d1721b7d9a9b3296 (patch) | |
tree | 37dac33d6fa373699cce638d2ca3d658b496e790 | |
parent | eb147f78a4d9f3fddd4f058094f6015da9fb183e (diff) |
qlnx: Disable unused by set warnings for ecore_ll2.c.
The OSAL_SPIN_LOCK_IRQSAVE macros take a flags argument that is unused
on FreeBSD (but used on other platforms).
-rw-r--r-- | sys/modules/qlnx/qlnxe/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/modules/qlnx/qlnxe/Makefile b/sys/modules/qlnx/qlnxe/Makefile index 718040776496..5d1d0eefec64 100644 --- a/sys/modules/qlnx/qlnxe/Makefile +++ b/sys/modules/qlnx/qlnxe/Makefile @@ -91,3 +91,4 @@ CFLAGS += -DCONFIG_ECORE_RDMA CFLAGS += -DQLNX_ENABLE_IWARP CWARNFLAGS+= -Wno-cast-qual +CWARNFLAGS.ecore_ll2.c+= ${NO_WUNUSED_BUT_SET_VARIABLE} |