[dpdk-dev,3/3] net/octeontx: fix 32bit build with driver debug enabled

Message ID 20171011113035.16757-3-jerin.jacob@caviumnetworks.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers

Checks

Context Check Description
ci/checkpatch warning coding style issues
ci/Intel-compilation fail Compilation issues

Commit Message

Jerin Jacob Oct. 11, 2017, 11:30 a.m. UTC
  squash this to next-next

Fixes: 9198e27bca84 ("net/octeontx: add basic stats support")

Reported-by: Thomas Monjalon <thomas@monjalon.net>
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
---
 drivers/net/octeontx/octeontx_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/drivers/net/octeontx/octeontx_ethdev.c b/drivers/net/octeontx/octeontx_ethdev.c
index 9889bfffb..82e38c20a 100644
--- a/drivers/net/octeontx/octeontx_ethdev.c
+++ b/drivers/net/octeontx/octeontx_ethdev.c
@@ -221,7 +221,7 @@  octeontx_port_stats(struct octeontx_nic *nic, struct rte_eth_stats *stats)
 	stats->obytes = bgx_stats.tx_bytes;
 	stats->oerrors = bgx_stats.tx_errors;
 
-	octeontx_log_dbg("port %d get stats done inpkts=%ld outpkts=%ld",
+	octeontx_log_dbg("port%d stats inpkts=%" PRIx64 " outpkts=%" PRIx64 "",
 			nic->port_id, stats->ipackets, stats->opackets);
 
 	return 0;