git: e01be53158bd - stable/13 - mbuf(9): Properly declare some function macros when debugging is disabled.

From: Hans Petter Selasky <hselasky_at_FreeBSD.org>
Date: Thu, 10 Feb 2022 15:16:57 UTC
The branch stable/13 has been updated by hselasky:

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

commit e01be53158bd51cbb7776f56832b0fd74a50fd42
Author:     Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2022-01-26 11:00:12 +0000
Commit:     Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2022-02-10 15:11:11 +0000

    mbuf(9): Properly declare some function macros when debugging is disabled.
    
    No functional change intended.
    
    Sponsored by:   NVIDIA Networking
    
    (cherry picked from commit a6d45243233ccd26940df7fed127357cdc2d6b75)
---
 sys/sys/mbuf.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h
index a6376784a85f..dac06069c65a 100644
--- a/sys/sys/mbuf.h
+++ b/sys/sys/mbuf.h
@@ -440,7 +440,7 @@ m_epg_pagelen(const struct mbuf *m, int pidx, int pgoff)
 	    "too large header length");					\
 } while (0)
 #else
-#define	MBUF_EXT_PGS_ASSERT_SANITY(m)	do {} while (0);
+#define	MBUF_EXT_PGS_ASSERT_SANITY(m)	do {} while (0)
 #endif
 #endif
 
@@ -779,7 +779,7 @@ union if_snd_tag_alloc_params;
 		    "Sleeping in \"%s\"", __func__);			\
 } while (0)
 #else
-#define	MBUF_CHECKSLEEP(how)
+#define	MBUF_CHECKSLEEP(how) do {} while (0)
 #endif
 
 /*
@@ -1131,7 +1131,7 @@ m_extrefcnt(struct mbuf *m)
 		    ("%s: chain %p contains an unmapped mbuf", __func__, (m)));\
 } while (0)
 #else
-#define	M_ASSERTMAPPED(m)
+#define	M_ASSERTMAPPED(m) do {} while (0)
 #endif
 
 /*