From 2ca96463fea4712f7fd5f9c77340fcb4ddc4019f Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Fri, 4 Mar 2022 23:55:51 -0800 Subject: [PATCH] Add driver debug print for number of configured IRQs --- modules/mqnic/mqnic_irq.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/mqnic/mqnic_irq.c b/modules/mqnic/mqnic_irq.c index eeae017c1..da1d9133c 100644 --- a/modules/mqnic/mqnic_irq.c +++ b/modules/mqnic/mqnic_irq.c @@ -84,6 +84,8 @@ int mqnic_irq_init_pcie(struct mqnic_dev *mdev) mdev->irq[k] = irq; } + dev_info(dev, "Configured %d IRQs", mdev->irq_count); + return 0; fail: mqnic_irq_deinit_pcie(mdev);