Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2022 17:32:51 GMT
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 754358108c1f - main - Include sys/systm.h in phy_usb.c for KASSERT
Message-ID:  <202210281732.29SHWpOL025016@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by andrew:

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

commit 754358108c1fa4e1818215c5ea085e13576ed798
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2022-10-28 17:12:31 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2022-10-28 17:31:55 +0000

    Include sys/systm.h in phy_usb.c for KASSERT
    
    Rather than depending on header pollution include systm.h directly.
    
    Sponsored by:   Innovate UK
---
 sys/dev/extres/phy/phy_usb.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/dev/extres/phy/phy_usb.c b/sys/dev/extres/phy/phy_usb.c
index 891db493634b..ce25993482a5 100644
--- a/sys/dev/extres/phy/phy_usb.c
+++ b/sys/dev/extres/phy/phy_usb.c
@@ -28,6 +28,7 @@
 __FBSDID("$FreeBSD$");
 
 #include <sys/param.h>
+#include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/lock.h>
 #include <sys/queue.h>



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