Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 May 2023 19:34:23 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: 1efae8a24ffd - main - dpaa2: Replace boolean_t with bool.
Message-ID:  <202305041934.344JYNJO049384@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=1efae8a24ffd08e78decc4a95f134db620dc41ce

commit 1efae8a24ffd08e78decc4a95f134db620dc41ce
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-05-04 19:32:57 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-05-04 19:32:57 +0000

    dpaa2: Replace boolean_t with bool.
    
    This was already using true/false rather than TRUE/FALSE.
    
    Reviewed by:    imp, emaste
    Differential Revision:  https://reviews.freebsd.org/D39924
---
 sys/dev/dpaa2/dpaa2_ni.c | 2 +-
 sys/dev/dpaa2/dpaa2_ni.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/dev/dpaa2/dpaa2_ni.c b/sys/dev/dpaa2/dpaa2_ni.c
index e5b0fe59d14d..d4e4de216736 100644
--- a/sys/dev/dpaa2/dpaa2_ni.c
+++ b/sys/dev/dpaa2/dpaa2_ni.c
@@ -2776,7 +2776,7 @@ dpaa2_ni_transmit(if_t ifp, struct mbuf *m)
 	struct dpaa2_ni_channel	*chan;
 	struct dpaa2_ni_tx_ring *tx;
 	uint32_t fqid;
-	boolean_t found = false;
+	bool found = false;
 	int chan_n = 0;
 
 	if (__predict_false(!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)))
diff --git a/sys/dev/dpaa2/dpaa2_ni.h b/sys/dev/dpaa2/dpaa2_ni.h
index 03528420d5d7..00215fdcefe5 100644
--- a/sys/dev/dpaa2/dpaa2_ni.h
+++ b/sys/dev/dpaa2/dpaa2_ni.h
@@ -552,7 +552,7 @@ struct dpaa2_ni_softc {
 	struct mtx		 lock;
 	device_t		 miibus;
 	struct mii_data		*mii;
-	boolean_t		 fixed_link;
+	bool			 fixed_link;
 	struct ifmedia		 fixed_ifmedia;
 	int			 media_status;
 



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