[dpdk-stable] patch 'net/bnxt: fix format specifier for unsigned int' has been queued to stable release 20.11.1

luca.boccassi at gmail.com luca.boccassi at gmail.com
Fri Feb 5 12:15:30 CET 2021


Hi,

FYI, your patch has been queued to stable release 20.11.1

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 02/07/21. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/bluca/dpdk-stable

This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/c35760057e436e82749a8a09b1f43cbd4a4cfec7

Thanks.

Luca Boccassi

---
>From c35760057e436e82749a8a09b1f43cbd4a4cfec7 Mon Sep 17 00:00:00 2001
From: Ajit Khaparde <ajit.khaparde at broadcom.com>
Date: Thu, 3 Dec 2020 11:17:14 -0800
Subject: [PATCH] net/bnxt: fix format specifier for unsigned int

[ upstream commit fa24e230b1e5d4326046be4f07f5caf6c5b2f77a ]

&device requires the %u format specifier not the %d specifier, as
&device is unsigned.

Fixes: a46bbb57605b ("net/bnxt: update multi device design")

Signed-off-by: Ajit Khaparde <ajit.khaparde at broadcom.com>
Acked-by: Lance Richardson <lance.richardson at broadcom.com>
---
 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.29.2

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2021-02-05 11:18:31.264312453 +0000
+++ 0044-net-bnxt-fix-format-specifier-for-unsigned-int.patch	2021-02-05 11:18:28.718689436 +0000
@@ -1 +1 @@
-From fa24e230b1e5d4326046be4f07f5caf6c5b2f77a Mon Sep 17 00:00:00 2001
+From c35760057e436e82749a8a09b1f43cbd4a4cfec7 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit fa24e230b1e5d4326046be4f07f5caf6c5b2f77a ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org


More information about the stable mailing list