From fa24e230b1e5d4326046be4f07f5caf6c5b2f77a Mon Sep 17 00:00:00 2001 From: Ajit Khaparde Date: Thu, 3 Dec 2020 11:17:14 -0800 Subject: [PATCH] net/bnxt: fix format specifier for unsigned int &device requires the %u format specifier not the %d specifier, as &device is unsigned. Fixes: a46bbb57605b ("net/bnxt: update multi device design") Cc: stable@dpdk.org Signed-off-by: Ajit Khaparde Acked-by: Lance Richardson --- drivers/net/bnxt/tf_core/tf_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnxt/tf_core/tf_core.c b/drivers/net/bnxt/tf_core/tf_core.c index 24d49096a7..3409cbbcec 100644 --- a/drivers/net/bnxt/tf_core/tf_core.c +++ b/drivers/net/bnxt/tf_core/tf_core.c @@ -82,7 +82,7 @@ tf_open_session(struct tf *tfp, return rc; TFP_DRV_LOG(INFO, - "domain:%d, bus:%d, device:%d\n", + "domain:%d, bus:%d, device:%u\n", parms->session_id.internal.domain, parms->session_id.internal.bus, parms->session_id.internal.device); -- 2.20.1