summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorShannon Nelson <snelson@pensando.io>2020-08-27 16:00:20 -0700
committerDavid S. Miller <davem@davemloft.net>2020-08-28 08:01:30 -0700
commit9aa1c152eb44c28a7306bbb2597b32d8e1d65a49 (patch)
tree2c6ba3a1a680d0d1615837918d93753098293752 /drivers
parenteba8760948ba04a0909e9c40d552d7fbc6bfb7d3 (diff)
downloadlinux-9aa1c152eb44c28a7306bbb2597b32d8e1d65a49.tar.bz2
ionic: fix up a couple of debug strings
Fix the queue name displayed. Signed-off-by: Shannon Nelson <snelson@pensando.io> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/pensando/ionic/ionic_lif.c7
1 files 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;
}