Thread (8 messages) flat view 8 messages, 1 author, 11h ago
HOTtoday

[PATCH 5/7] power/amd_uncore: fix debug log build

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2026-09-04 19:17:32
Subsystem: the rest · Maintainer: Linus Torvalds

The debug log referenced ui->num_uncore_freqs, which is the field name
used by the intel_uncore driver.  The AMD uncore_power_info struct
calls it nb_freqs, so building with RTE_LIBRTE_POWER_DEBUG failed.

Fixes: da4d64d0e803 ("power/amd_uncore: add uncore for AMD EPYC processors")
Cc: stable@dpdk.org

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 drivers/power/amd_uncore/amd_uncore.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/power/amd_uncore/amd_uncore.c b/drivers/power/amd_uncore/amd_uncore.c
index c3e95cdc08..b341cfef75 100644
--- a/drivers/power/amd_uncore/amd_uncore.c
+++ b/drivers/power/amd_uncore/amd_uncore.c
@@ -100,7 +100,7 @@ power_get_available_uncore_freqs(struct uncore_power_info *ui)
 	}
 
 	POWER_DEBUG_LOG("%d frequency(s) of pkg %02u die %02u are available",
-			ui->num_uncore_freqs, ui->pkg, ui->die);
+			ui->nb_freqs, ui->pkg, ui->die);
 
 	return 0;
 }
-- 
2.53.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help