Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 May 2023 00:30:06 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 677407f69c39 - stable/13 - sys: Retire OPENZFS_CWARNFLAGS now that it is empty.
Message-ID:  <202305030030.3430U61Y075441@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=677407f69c39092c1113d5c3e401ad3e2446357f

commit 677407f69c39092c1113d5c3e401ad3e2446357f
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-03-22 19:35:30 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-05-03 00:28:46 +0000

    sys: Retire OPENZFS_CWARNFLAGS now that it is empty.
    
    Reviewed by:    markj, emaste
    Differential Revision:  https://reviews.freebsd.org/D39217
    
    (cherry picked from commit dddb1aec4d54ba949201f4a2e3146cfab4a5870f)
---
 sys/conf/kmod.mk                               | 1 -
 sys/modules/dtrace/dtaudit/Makefile            | 1 -
 sys/modules/dtrace/dtmalloc/Makefile           | 1 -
 sys/modules/dtrace/dtnfscl/Makefile            | 1 -
 sys/modules/dtrace/dtrace/Makefile             | 1 -
 sys/modules/dtrace/fasttrap/Makefile           | 1 -
 sys/modules/dtrace/fbt/Makefile                | 1 -
 sys/modules/dtrace/profile/Makefile            | 1 -
 sys/modules/dtrace/prototype/Makefile          | 1 -
 sys/modules/dtrace/sdt/Makefile                | 2 +-
 sys/modules/dtrace/systrace/Makefile           | 1 -
 sys/modules/dtrace/systrace_freebsd32/Makefile | 1 -
 sys/modules/dtrace/systrace_linux/Makefile     | 1 -
 sys/modules/dtrace/systrace_linux32/Makefile   | 1 -
 sys/modules/opensolaris/Makefile               | 1 -
 sys/modules/zfs/Makefile                       | 2 --
 16 files changed, 1 insertion(+), 17 deletions(-)

diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index a952e3190dec..a06f6a2555d9 100644
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -550,7 +550,6 @@ OPENZFS_CFLAGS=     \
 	-I${SYSDIR}/cddl/compat/opensolaris \
 	-I${SYSDIR}/cddl/contrib/opensolaris/uts/common \
 	-include ${ZINCDIR}/os/freebsd/spl/sys/ccompile.h
-OPENZFS_CWARNFLAGS=
 
 .include <bsd.dep.mk>
 .include <bsd.clang-analyze.mk>
diff --git a/sys/modules/dtrace/dtaudit/Makefile b/sys/modules/dtrace/dtaudit/Makefile
index 3571bcbb7ea2..72cdf03f4bc3 100644
--- a/sys/modules/dtrace/dtaudit/Makefile
+++ b/sys/modules/dtrace/dtaudit/Makefile
@@ -13,4 +13,3 @@ CFLAGS+= ${OPENZFS_CFLAGS}
 .include <bsd.kmod.mk>
 
 CFLAGS+=	-include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h
-CWARNFLAGS+=	${OPENZFS_CWARNFLAGS}
diff --git a/sys/modules/dtrace/dtmalloc/Makefile b/sys/modules/dtrace/dtmalloc/Makefile
index ffde4f811ee8..910f8f360e80 100644
--- a/sys/modules/dtrace/dtmalloc/Makefile
+++ b/sys/modules/dtrace/dtmalloc/Makefile
@@ -13,4 +13,3 @@ CFLAGS+=	${OPENZFS_CFLAGS}
 .include <bsd.kmod.mk>
 
 CFLAGS+=	-include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h
-CWARNFLAGS+=	${OPENZFS_CWARNFLAGS}
diff --git a/sys/modules/dtrace/dtnfscl/Makefile b/sys/modules/dtrace/dtnfscl/Makefile
index d28641e51ec8..6184ad183fc6 100644
--- a/sys/modules/dtrace/dtnfscl/Makefile
+++ b/sys/modules/dtrace/dtnfscl/Makefile
@@ -13,4 +13,3 @@ CFLAGS+=	${OPENZFS_CFLAGS}
 .include <bsd.kmod.mk>
 
 CFLAGS+=	-include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h
-CWARNFLAGS+=	${OPENZFS_CWARNFLAGS}
diff --git a/sys/modules/dtrace/dtrace/Makefile b/sys/modules/dtrace/dtrace/Makefile
index 712e10331a38..0bd81bb39db0 100644
--- a/sys/modules/dtrace/dtrace/Makefile
+++ b/sys/modules/dtrace/dtrace/Makefile
@@ -57,7 +57,6 @@ dtrace_asm.o:  assym.inc
 
 CFLAGS+=	-include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h
 CFLAGS.dtrace_asm.S+= -D_SYS_ERRNO_H_ -D_SYS_PARAM_H_ -DLOCORE
-CWARNFLAGS+=	${OPENZFS_CWARNFLAGS}
 CWARNFLAGS+=	-Wno-parentheses
 CWARNFLAGS+=	-Wno-cast-qual
 CWARNFLAGS+=	-Wno-unused
diff --git a/sys/modules/dtrace/fasttrap/Makefile b/sys/modules/dtrace/fasttrap/Makefile
index 0eecfcb11aab..1be1b97736ea 100644
--- a/sys/modules/dtrace/fasttrap/Makefile
+++ b/sys/modules/dtrace/fasttrap/Makefile
@@ -26,6 +26,5 @@ SRCS+=		u8_textprep.c
 
 CFLAGS+=	-include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h
 
-CWARNFLAGS+=	${OPENZFS_CWARNFLAGS}
 CWARNFLAGS+=	-Wno-cast-qual
 CWARNFLAGS+=	-Wno-unused
diff --git a/sys/modules/dtrace/fbt/Makefile b/sys/modules/dtrace/fbt/Makefile
index 360d92000776..288c8cafa817 100644
--- a/sys/modules/dtrace/fbt/Makefile
+++ b/sys/modules/dtrace/fbt/Makefile
@@ -23,4 +23,3 @@ CFLAGS+=  -I${SYSDIR}/cddl/dev/fbt
 .include <bsd.kmod.mk>
 
 CFLAGS+=	-include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h
-CWARNFLAGS+=	${OPENZFS_CWARNFLAGS}
diff --git a/sys/modules/dtrace/profile/Makefile b/sys/modules/dtrace/profile/Makefile
index b3eec9a19f23..aa36f9a2dfba 100644
--- a/sys/modules/dtrace/profile/Makefile
+++ b/sys/modules/dtrace/profile/Makefile
@@ -13,4 +13,3 @@ CFLAGS+= 	${OPENZFS_CFLAGS}
 .include <bsd.kmod.mk>
 
 CFLAGS+=	-include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h
-CWARNFLAGS+=	${OPENZFS_CWARNFLAGS}
diff --git a/sys/modules/dtrace/prototype/Makefile b/sys/modules/dtrace/prototype/Makefile
index 189d6c2df2a2..476c567a4dc0 100644
--- a/sys/modules/dtrace/prototype/Makefile
+++ b/sys/modules/dtrace/prototype/Makefile
@@ -13,4 +13,3 @@ CFLAGS+= 	${OPENZFS_CFLAGS}
 .include <bsd.kmod.mk>
 
 CFLAGS+=	-include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h
-CWARNFLAGS+=	${OPENZFS_CWARNFLAGS}
diff --git a/sys/modules/dtrace/sdt/Makefile b/sys/modules/dtrace/sdt/Makefile
index a025848e3a60..d672b3c9aab9 100644
--- a/sys/modules/dtrace/sdt/Makefile
+++ b/sys/modules/dtrace/sdt/Makefile
@@ -11,5 +11,5 @@ SRCS+=		vnode_if.h
 CFLAGS+=	${OPENZFS_CFLAGS}
 
 .include <bsd.kmod.mk>
+
 CFLAGS+=	-include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h
-CWARNFLAGS+=	${OPENZFS_CWARNFLAGS}
diff --git a/sys/modules/dtrace/systrace/Makefile b/sys/modules/dtrace/systrace/Makefile
index 2250a7418193..3e122f70da25 100644
--- a/sys/modules/dtrace/systrace/Makefile
+++ b/sys/modules/dtrace/systrace/Makefile
@@ -13,4 +13,3 @@ CFLAGS+=	${OPENZFS_CFLAGS}
 .include <bsd.kmod.mk>
 
 CFLAGS+=	-include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h
-CWARNFLAGS+=	${OPENZFS_CWARNFLAGS}
diff --git a/sys/modules/dtrace/systrace_freebsd32/Makefile b/sys/modules/dtrace/systrace_freebsd32/Makefile
index 3b77bc4c6d0e..4661633f9a62 100644
--- a/sys/modules/dtrace/systrace_freebsd32/Makefile
+++ b/sys/modules/dtrace/systrace_freebsd32/Makefile
@@ -14,4 +14,3 @@ CFLAGS+=	-DFREEBSD32_SYSTRACE
 .include <bsd.kmod.mk>
 
 CFLAGS+=	-include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h
-CWARNFLAGS+=	${OPENZFS_CWARNFLAGS}
diff --git a/sys/modules/dtrace/systrace_linux/Makefile b/sys/modules/dtrace/systrace_linux/Makefile
index 56f422dfb9e5..7dbd88ffb5f0 100644
--- a/sys/modules/dtrace/systrace_linux/Makefile
+++ b/sys/modules/dtrace/systrace_linux/Makefile
@@ -15,4 +15,3 @@ CFLAGS+=	-DLINUX_SYSTRACE
 .include <bsd.kmod.mk>
 
 CFLAGS+=	-include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h
-CWARNFLAGS+=	${OPENZFS_CWARNFLAGS}
diff --git a/sys/modules/dtrace/systrace_linux32/Makefile b/sys/modules/dtrace/systrace_linux32/Makefile
index febd4a0c1bab..81aa1b7de9df 100644
--- a/sys/modules/dtrace/systrace_linux32/Makefile
+++ b/sys/modules/dtrace/systrace_linux32/Makefile
@@ -15,4 +15,3 @@ CFLAGS+=	-DLINUX32_SYSTRACE
 .include <bsd.kmod.mk>
 
 CFLAGS+=	-include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h
-CWARNFLAGS+=	${OPENZFS_CWARNFLAGS}
diff --git a/sys/modules/opensolaris/Makefile b/sys/modules/opensolaris/Makefile
index 7010485b0ee7..f5d6f7f4639c 100644
--- a/sys/modules/opensolaris/Makefile
+++ b/sys/modules/opensolaris/Makefile
@@ -34,4 +34,3 @@ IGNORE_PRAGMA=	1
 .include <bsd.kmod.mk>
 
 CFLAGS+=	-include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h
-CWARNFLAGS+=	${OPENZFS_CWARNFLAGS}
diff --git a/sys/modules/zfs/Makefile b/sys/modules/zfs/Makefile
index 0cfc336aacb1..a75c1986bb13 100644
--- a/sys/modules/zfs/Makefile
+++ b/sys/modules/zfs/Makefile
@@ -286,8 +286,6 @@ CFLAGS+= -include ${SRCTOP}/sys/cddl/compat/opensolaris/sys/debug_compat.h
 CFLAGS+= -include ${INCDIR}/os/freebsd/spl/sys/ccompile.h
 CFLAGS+= -include ${SRCTOP}/sys/modules/zfs/static_ccompile.h
 
-CWARNFLAGS+=	${OPENZFS_CWARNFLAGS}
-
 CFLAGS.gcc+= -Wno-pointer-to-int-cast
 
 CFLAGS.lapi.c= -Wno-cast-qual



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305030030.3430U61Y075441>