Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 May 2023 19:34:24 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: 2fd903276ddb - main - dwc(4): Use bool rather than boolean_t.
Message-ID:  <202305041934.344JYOWm049406@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=2fd903276ddb5159dcea93f16e0bfe9a1fc9e491

commit 2fd903276ddb5159dcea93f16e0bfe9a1fc9e491
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-05-04 19:33:20 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-05-04 19:33:20 +0000

    dwc(4): Use bool rather than boolean_t.
    
    This was already using true/false rather than TRUE/FALSE.
    
    Reviewed by:    emaste
    Differential Revision:  https://reviews.freebsd.org/D39925
---
 sys/dev/dwc/if_dwcvar.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/dev/dwc/if_dwcvar.h b/sys/dev/dwc/if_dwcvar.h
index f4193b8222c9..96bcffc45a4d 100644
--- a/sys/dev/dwc/if_dwcvar.h
+++ b/sys/dev/dwc/if_dwcvar.h
@@ -70,9 +70,9 @@ struct dwc_softc {
 	struct mtx		mtx;
 	void *			intr_cookie;
 	struct callout		dwc_callout;
-	boolean_t		link_is_up;
-	boolean_t		is_attached;
-	boolean_t		is_detaching;
+	bool			link_is_up;
+	bool			is_attached;
+	bool			is_detaching;
 	int			tx_watchdog_count;
 	int			stats_harvest_count;
 	int			phy_mode;



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