From: Kalesh AP Date: Mon, 31 May 2021 07:26:43 +0000 (+0530) Subject: net/bnxt: improve probing log message X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=4a8ac3768fcf2e7e45684397b9d585fe994cc997;p=dpdk.git 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 --- 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);