Date: Thu, 25 Jun 2026 01:05:35 +0000 From: Olivier Certner <olce@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 7b107346448a - main - hwpstate_amd(4): Rename remaining 'struct set_autonomous_hwp_data' Message-ID: <6a3c7edf.3ea09.78346144@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=7b107346448a7df2446bc67bf0bc2a6acaef5cbf commit 7b107346448a7df2446bc67bf0bc2a6acaef5cbf Author: Olivier Certner <olce@FreeBSD.org> AuthorDate: 2026-06-25 01:01:41 +0000 Commit: Olivier Certner <olce@FreeBSD.org> CommitDate: 2026-06-25 01:04:58 +0000 hwpstate_amd(4): Rename remaining 'struct set_autonomous_hwp_data' For consistency. No functional change (intended). Fixes: c6a0eb7ada62 ("hwpstate_amd(4): Rename '*set_autonomous_hwp*()' => 'enable_cppc*()'") Event: Halifax Hackathon 202606 Location: jrm@'s living room Sponsored by: The FreeBSD Foundation --- sys/x86/cpufreq/hwpstate_amd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/x86/cpufreq/hwpstate_amd.c b/sys/x86/cpufreq/hwpstate_amd.c index bbc6592579e3..08695da5638a 100644 --- a/sys/x86/cpufreq/hwpstate_amd.c +++ b/sys/x86/cpufreq/hwpstate_amd.c @@ -793,7 +793,7 @@ hwpstate_identify(driver_t *driver, device_t parent) device_printf(parent, "hwpstate: add child failed\n"); } -struct set_autonomous_hwp_data { +struct enable_cppc_data { /* Inputs */ struct hwpstate_softc *sc; /* Outputs */ @@ -808,7 +808,7 @@ struct set_autonomous_hwp_data { static void enable_cppc_cb(void *args) { - struct set_autonomous_hwp_data *const data = args; + struct enable_cppc_data *const data = args; struct hwpstate_softc *const sc = data->sc; uint64_t lowest_perf, highest_perf; int error; @@ -890,7 +890,7 @@ enable_cppc(struct hwpstate_softc *sc) { const device_t dev = sc->dev; const u_int cpuid = sc->cpuid; - struct set_autonomous_hwp_data data; + struct enable_cppc_data data; struct sbuf sbs; struct sbuf *sb;home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a3c7edf.3ea09.78346144>
