Date: Tue, 28 Jul 2026 12:13:20 +0000 From: Dag-Erling=?utf-8?Q? Sm=C3=B8rg?=rav <des@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 744cc514567d - main - mbuf: Parenthesize macro arguments Message-ID: <6a689ce0.35ea0.33533425@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=744cc514567d33d38986f0ff7de009f786acc180 commit 744cc514567d33d38986f0ff7de009f786acc180 Author: Dag-Erling Smørgrav <des@FreeBSD.org> AuthorDate: 2026-07-28 12:08:48 +0000 Commit: Dag-Erling Smørgrav <des@FreeBSD.org> CommitDate: 2026-07-28 12:12:44 +0000 mbuf: Parenthesize macro arguments MFC after: 1 week Sponsored by: Klara, Inc. Sponsored by: NetApp, Inc. --- sys/sys/mbuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h index fb1a0a5b81d0..d812d66eb5eb 100644 --- a/sys/sys/mbuf.h +++ b/sys/sys/mbuf.h @@ -1169,7 +1169,7 @@ m_extrefcnt(struct mbuf *m) * XXX: Broken at the moment. Need some UMA magic to make it work again. */ #define M_ASSERTVALID(m) \ - KASSERT((((struct mbuf *)m)->m_flags & 0) == 0, \ + KASSERT((((struct mbuf *)(m))->m_flags & 0) == 0, \ ("%s: attempted use of a free mbuf %p!", __func__, (m))) /* Check whether any mbuf in the chain is unmapped. */home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a689ce0.35ea0.33533425>
