From: Aarnav JP <[email protected]>

Fix format specifier for bandwidth profile ID.

Fixes: db5744d3cd23 ("common/cnxk: support NIX debug for CN20K")

Signed-off-by: Aarnav JP <[email protected]>
---
 .mailmap                            | 1 +
 drivers/common/cnxk/roc_nix_debug.c | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.mailmap b/.mailmap
index 10c37a97a6..46053e419c 100644
--- a/.mailmap
+++ b/.mailmap
@@ -1,4 +1,5 @@
 Aakash Sasidharan <[email protected]>
+Aarnav JP <[email protected]>
 Aaro Koskinen <[email protected]>
 Aaron Campbell <[email protected]>
 Aaron Conole <[email protected]>
diff --git a/drivers/common/cnxk/roc_nix_debug.c 
b/drivers/common/cnxk/roc_nix_debug.c
index f9294e693b..11994bf131 100644
--- a/drivers/common/cnxk/roc_nix_debug.c
+++ b/drivers/common/cnxk/roc_nix_debug.c
@@ -769,8 +769,8 @@ nix_lf_rq_dump(__io struct nix_cn20k_rq_ctx_s *ctx, FILE 
*file)
 
        nix_dump(file, "W2: xqe_hdr_split \t\t%d\nW2: xqe_imm_copy \t\t%d",
                 ctx->xqe_hdr_split, ctx->xqe_imm_copy);
-       nix_dump(file, "W2: band_prof_id\t\t%d\n",
-                ((ctx->band_prof_id_h << 10) | ctx->band_prof_id_l));
+       nix_dump(file, "W2: band_prof_id\t\t0x%" PRIx64 "\n",
+                (uint64_t)((ctx->band_prof_id_h << 10) | ctx->band_prof_id_l));
        nix_dump(file, "W2: xqe_imm_size \t\t%d\nW2: later_skip \t\t\t%d",
                 ctx->xqe_imm_size, ctx->later_skip);
        nix_dump(file, "W2: sso_bp_ena\t\t%d\n", ctx->sso_bp_ena);
-- 
2.34.1

Reply via email to