From 4a8ac3768fcf2e7e45684397b9d585fe994cc997 Mon Sep 17 00:00:00 2001 From: Kalesh AP Date: Mon, 31 May 2021 12:56:43 +0530 Subject: [PATCH] net/bnxt: improve probing log message The existing log message is missing a space. Modified it to a more meaningful log as part of this change. Before this patch: bnxt_dev_init(): bnxtfound at mem D67E0000, node addr 0x2101112000M With this patch: bnxt_dev_init(): Found bnxt device at mem D67E0000, node addr 0x2101112000M Fixes: 1bf01f5135f8 ("net/bnxt: prevent device access when device is in reset") Cc: stable@dpdk.org Signed-off-by: Kalesh AP Reviewed-by: Somnath Kotur Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index c72a968ffa..2545bfc877 100644 --- a/drivers/net/bnxt/bnxt_ethdev.c +++ b/drivers/net/bnxt/bnxt_ethdev.c @@ -5791,7 +5791,8 @@ bnxt_dev_init(struct rte_eth_dev *eth_dev, void *params __rte_unused) goto error_free; PMD_DRV_LOG(INFO, - DRV_MODULE_NAME "found at mem %" PRIX64 ", node addr %pM\n", + "Found %s device at mem %" PRIX64 ", node addr %pM\n", + DRV_MODULE_NAME, pci_dev->mem_resource[0].phys_addr, pci_dev->mem_resource[0].addr); -- 2.20.1