mirror of https://gitee.com/openkylin/linux.git
net: aquantia: user correct MSI irq type
Typo in msi code. No much impact though. Signed-off-by: Nikita Danilov <ndanilov@aquantia.com> Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
20ffb879d0
commit
18eac376ed
|
@ -193,7 +193,7 @@ unsigned int aq_pci_func_get_irq_type(struct aq_nic_s *self)
|
|||
if (self->pdev->msix_enabled)
|
||||
return AQ_HW_IRQ_MSIX;
|
||||
if (self->pdev->msi_enabled)
|
||||
return AQ_HW_IRQ_MSIX;
|
||||
return AQ_HW_IRQ_MSI;
|
||||
return AQ_HW_IRQ_LEGACY;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue