Date: Fri, 8 Apr 2022 00:03:34 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: c9bbf99be038 - main - qlnx: Disable unused by set warnings for ecore_ll2.c. Message-ID: <202204080003.23803Y3B086539@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=c9bbf99be03803394b415567d1721b7d9a9b3296 commit c9bbf99be03803394b415567d1721b7d9a9b3296 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-08 00:01:28 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-04-08 00:01:28 +0000 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). --- sys/modules/qlnx/qlnxe/Makefile | 1 + 1 file changed, 1 insertion(+) 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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204080003.23803Y3B086539>