All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shannon Nelson <snelson@pensando.io>
To: netdev@vger.kernel.org, davem@davemloft.net
Cc: Shannon Nelson <snelson@pensando.io>
Subject: [PATCH v2 net-next 02/12] ionic: fix up a couple of debug strings
Date: Thu, 27 Aug 2020 11:07:25 -0700	[thread overview]
Message-ID: <20200827180735.38166-3-snelson@pensando.io> (raw)
In-Reply-To: <20200827180735.38166-1-snelson@pensando.io>

Fix the queue name displayed.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
---
 drivers/net/ethernet/pensando/ionic/ionic_lif.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/net/ethernet/pensando/ionic/ionic_lif.c b/drivers/net/ethernet/pensando/ionic/ionic_lif.c
index 235215c28f29..e95e3fa8840a 100644
--- a/drivers/net/ethernet/pensando/ionic/ionic_lif.c
+++ b/drivers/net/ethernet/pensando/ionic/ionic_lif.c
@@ -433,14 +433,14 @@ static int ionic_qcq_alloc(struct ionic_lif *lif, unsigned int type,
 		err = ionic_intr_alloc(lif, &new->intr);
 		if (err) {
 			netdev_warn(lif->netdev, "no intr for %s: %d\n",
-				    name, err);
+				    new->q.name, err);
 			goto err_out;
 		}
 
 		err = ionic_bus_get_irq(lif->ionic, new->intr.index);
 		if (err < 0) {
 			netdev_warn(lif->netdev, "no vector for %s: %d\n",
-				    name, err);
+				    new->q.name, err);
 			goto err_out_free_intr;
 		}
 		new->intr.vector = err;
@@ -449,7 +449,8 @@ static int ionic_qcq_alloc(struct ionic_lif *lif, unsigned int type,
 
 		err = ionic_request_irq(lif, new);
 		if (err) {
-			netdev_warn(lif->netdev, "irq request failed %d\n", err);
+			netdev_warn(lif->netdev, "irq request failed for %s: %d\n",
+				    new->q.name, err);
 			goto err_out_free_intr;
 		}
 
-- 
2.17.1


  parent reply	other threads:[~2020-08-27 18:07 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-27 18:07 [PATCH v2 net-next 00/12] ionic memory usage rework Shannon Nelson
2020-08-27 18:07 ` [PATCH v2 net-next 01/12] ionic: set MTU floor at ETH_MIN_MTU Shannon Nelson
2020-08-27 18:07 ` Shannon Nelson [this message]
2020-08-27 18:07 ` [PATCH v2 net-next 03/12] ionic: use kcalloc for new arrays Shannon Nelson
2020-08-27 18:07 ` [PATCH v2 net-next 04/12] ionic: remove lif list concept Shannon Nelson
2020-08-27 18:07 ` [PATCH v2 net-next 05/12] ionic: rework and simplify handling of the queue stats block Shannon Nelson
2020-08-27 18:07 ` [PATCH v2 net-next 06/12] ionic: clean up unnecessary non-static functions Shannon Nelson
2020-08-27 18:07 ` [PATCH v2 net-next 07/12] ionic: reduce contiguous memory allocation requirement Shannon Nelson
2020-08-27 19:46   ` Jakub Kicinski
2020-08-27 19:53     ` Shannon Nelson
2020-08-27 21:25       ` Jakub Kicinski
2020-08-27 22:58         ` Shannon Nelson
2020-08-27 19:47   ` Jakub Kicinski
2020-08-27 18:07 ` [PATCH v2 net-next 08/12] ionic: use index not pointer for queue tracking Shannon Nelson
2020-08-27 18:07 ` [PATCH v2 net-next 09/12] ionic: change mtu without full queue rebuild Shannon Nelson
2020-08-27 18:07 ` [PATCH v2 net-next 10/12] ionic: change the descriptor ring length without full reset Shannon Nelson
2020-08-27 18:07 ` [PATCH v2 net-next 11/12] ionic: change queue count with no reset Shannon Nelson
2020-08-27 18:07 ` [PATCH v2 net-next 12/12] ionic: pull reset_queues into tx_timeout handler Shannon Nelson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200827180735.38166-3-snelson@pensando.io \
    --to=snelson@pensando.io \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.