mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 01:31:30 +03:00
nvethernet: fix common irq free path
issue: freeing common irq in ether_free_irqs without check fix: Use mask for common interrupt as well so it can be used to check before freeing irq Bug 200512422 Change-Id: I694ba983658fae3da6948ceda18d24c11f08d458 Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2081600 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Revanth Kumar Uppala
parent
2893067ed3
commit
0975ee4989
@@ -127,6 +127,7 @@ struct ether_priv_data {
|
||||
|
||||
unsigned int rx_irq_alloc_mask;
|
||||
unsigned int tx_irq_alloc_mask;
|
||||
unsigned int common_irq_alloc_mask;
|
||||
|
||||
int common_irq;
|
||||
int tx_irqs[ETHER_MAX_IRQS];
|
||||
|
||||
Reference in New Issue
Block a user