[Intel-wired-lan] [next PATCH 2/5] fm10k: Cleanup exception handling for mailbox interrupt
Singh, Krishneil K
krishneil.k.singh at intel.com
Tue Nov 3 20:47:35 UTC 2015
-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On Behalf Of Alexander Duyck
Sent: Tuesday, October 27, 2015 4:59 PM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [next PATCH 2/5] fm10k: Cleanup exception handling for mailbox interrupt
This patch addresses two issues.
First is the fact that the fm10k_mbx_free_irq was assuming msix_entries was valid and that will not always be the case. As such we need to add a check for if it is NULL.
Second is the fact that we weren't freeing the IRQ if the mailbox API returned an error on trying to connect.
Signed-off-by: Alexander Duyck <aduyck at mirantis.com>
---
Tested-by: Krishneil Singh <Krishneil.k.singh at intel.com>
More information about the Intel-wired-lan
mailing list