patch 'net/ionic: fix adapter name for logging' has been queued to stable release 21.11.3
Kevin Traynor
ktraynor at redhat.com
Fri Nov 11 11:33:01 CET 2022
Hi,
FYI, your patch has been queued to stable release 21.11.3
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/14/22. 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/kevintraynor/dpdk-stable
This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/1bd9b205c8d6d5fe8ce6342666bbc8e3c0a5977b
Thanks.
Kevin
---
>From 1bd9b205c8d6d5fe8ce6342666bbc8e3c0a5977b Mon Sep 17 00:00:00 2001
From: Andrew Boyer <andrew.boyer at amd.com>
Date: Tue, 18 Oct 2022 12:40:58 -0700
Subject: [PATCH] net/ionic: fix adapter name for logging
[ upstream commit d8fad46a3f7e1f96945ea5a509041eef93ada835 ]
Otherwise the log messages will be garbled.
Fixes: 4ae96cb88fa0 ("net/ionic: do minor logging fixups")
Signed-off-by: Andrew Boyer <andrew.boyer at amd.com>
---
drivers/net/ionic/ionic_dev.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ionic/ionic_dev.c b/drivers/net/ionic/ionic_dev.c
index 43e9ca3de3..5439b99b2d 100644
--- a/drivers/net/ionic/ionic_dev.c
+++ b/drivers/net/ionic/ionic_dev.c
@@ -56,5 +56,8 @@ ionic_dev_setup(struct ionic_adapter *adapter)
adapter->fw_version[IONIC_DEVINFO_FWVERS_BUFLEN - 1] = '\0';
- IONIC_PRINT(DEBUG, "Firmware version: %s", adapter->fw_version);
+ adapter->name = adapter->pci_dev->device.name;
+
+ IONIC_PRINT(DEBUG, "%s firmware version: %s",
+ adapter->name, adapter->fw_version);
/* BAR1: doorbells */
--
2.38.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2022-11-11 10:32:17.360152562 +0000
+++ 0011-net-ionic-fix-adapter-name-for-logging.patch 2022-11-11 10:32:17.015300531 +0000
@@ -1 +1 @@
-From d8fad46a3f7e1f96945ea5a509041eef93ada835 Mon Sep 17 00:00:00 2001
+From 1bd9b205c8d6d5fe8ce6342666bbc8e3c0a5977b Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit d8fad46a3f7e1f96945ea5a509041eef93ada835 ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list