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

Message ID 20171011113035.16757-1-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: 7c025f92e9f4 ("net/octeontx/base: add base PKO operations")

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

Comments

Ferruh Yigit Oct. 11, 2017, 5:17 p.m. UTC | #1
On 10/11/2017 12:30 PM, Jerin Jacob wrote:
> squash this to next-next
> 
> Fixes: 7c025f92e9f4 ("net/octeontx/base: add base PKO operations")
> 
> Reported-by: Thomas Monjalon <thomas@monjalon.net>
> Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>

Series squashed into relevant commits in next-net, thanks.
  

Patch

diff --git a/drivers/net/octeontx/base/octeontx_pkovf.c b/drivers/net/octeontx/base/octeontx_pkovf.c
index f0fb930c5..fdfe05ae1 100644
--- a/drivers/net/octeontx/base/octeontx_pkovf.c
+++ b/drivers/net/octeontx/base/octeontx_pkovf.c
@@ -242,7 +242,8 @@  octeontx_pko_dq_range_assign(struct octeontx_pko_vf_ctl_s *ctl, uint64_t chanid,
 	while (dq_cnt < dq_num) {
 		dq = dq_base + dq_cnt;
 
-		octeontx_log_dbg("DQ# %u assigned to CHAN# %lx", dq, chanid);
+		octeontx_log_dbg("DQ# %u assigned to CHAN# %" PRIx64 "", dq,
+			chanid);
 
 		ctl->dq_map[dq].chanid = ~chanid;
 		dq_cnt++;