[PATCH 3/3] libchip/network: Fix printk warnings.

Chris Johns chrisj at rtems.org
Tue May 31 07:47:10 UTC 2016


---
 c/src/libchip/network/dwmac-1000-core.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/c/src/libchip/network/dwmac-1000-core.c b/c/src/libchip/network/dwmac-1000-core.c
index 770078a..3aaf0b0 100644
--- a/c/src/libchip/network/dwmac-1000-core.c
+++ b/c/src/libchip/network/dwmac-1000-core.c
@@ -206,19 +206,19 @@ static void dwmac_1000_core_set_hash_filter(
     }
 
     DWMAC_1000_CORE_PRINT_DBG(
-      "Frame Filter reg: 0x%08x\n",
+      "Frame Filter reg: 0x%08" PRIx32 "\n",
       self->macgrp->mac_frame_filter
       );
     DWMAC_1000_CORE_PRINT_DBG(
       "Hash regs:\n"
-      "0x%08x\n"
-      "0x%08x\n"
-      "0x%08x\n"
-      "0x%08x\n"
-      "0x%08x\n"
-      "0x%08x\n"
-      "0x%08x\n"
-      "0x%08x\n",
+      "0x%08" PRIx32 "\n"
+      "0x%08" PRIx32 "\n"
+      "0x%08" PRIx32 "\n"
+      "0x%08" PRIx32 "\n"
+      "0x%08" PRIx32 "\n"
+      "0x%08" PRIx32 "\n"
+      "0x%08" PRIx32 "\n"
+      "0x%08" PRIx32 "\n",
       self->macgrp->hash_table_reg[0],
       self->macgrp->hash_table_reg[1],
       self->macgrp->hash_table_reg[2],
-- 
2.4.6




More information about the devel mailing list