[Skiboot] [PATCH 2/5] gcov: Don't print 0x with %p

Reza Arbab arbab at linux.ibm.com
Sat Mar 15 04:25:12 AEDT 2025


Remove the extra 0x from this message:

  [    0.042561024,5] GCOV: gcov_info_list at 0x0x30481280

Signed-off-by: Reza Arbab <arbab at linux.ibm.com>
---
 core/gcov-profiling.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/gcov-profiling.c b/core/gcov-profiling.c
index fdad51ed9a70..1c9089208066 100644
--- a/core/gcov-profiling.c
+++ b/core/gcov-profiling.c
@@ -77,7 +77,7 @@ void skiboot_gcov_done(void)
 		prlog(PR_WARNING, "GCOV: gcov_info_list doesn't look sane. "
 		      "i->filename == NULL.");
 
-	printf("GCOV: gcov_info_list at 0x%p\n", gcov_info_list);
+	printf("GCOV: gcov_info_list at %p\n", gcov_info_list);
 }
 
 void __gcov_merge_add(gcov_type *counters, unsigned int n_counters)
-- 
2.43.5



More information about the Skiboot mailing list