Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jan 2023 12:37:29 GMT
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 1d54105b977f - stable/13 - Stop relying on header pollution in sdhci_xenon.c
Message-ID:  <202301231237.30NCbTVo085159@gitrepo.freebsd.org>

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

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

commit 1d54105b977fc3bad2faff894925af844ba3205e
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2022-10-05 13:52:02 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2023-01-23 12:36:27 +0000

    Stop relying on header pollution in sdhci_xenon.c
    
    Include sys/malloc.h directly in sdhci_xenon.c to get the malloc(9)
    definition rather than depend on header pollution.
    
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit 232323a531f42b7ecd60e8b67934c0225a1651ab)
---
 sys/dev/sdhci/sdhci_xenon.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/dev/sdhci/sdhci_xenon.c b/sys/dev/sdhci/sdhci_xenon.c
index 59669affe4c5..78428052f0fc 100644
--- a/sys/dev/sdhci/sdhci_xenon.c
+++ b/sys/dev/sdhci/sdhci_xenon.c
@@ -37,6 +37,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/bus.h>
 #include <sys/kernel.h>
 #include <sys/lock.h>
+#include <sys/malloc.h>
 #include <sys/module.h>
 #include <sys/mutex.h>
 #include <sys/resource.h>



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