mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
13b7997a10
The overflow is detected by smatch: drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c: 175 aq_pci_func_free_irqs() error: buffer overflow 'self->aq_vec' 8 <= 31 In reality msix_entry_mask always restricts number of iterations. Adding extra condition to make logic clear and smatch happy. Signed-off-by: Nikita Danilov <nikita.danilov@aquantia.com> Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
hw_atl | ||
aq_cfg.h | ||
aq_common.h | ||
aq_ethtool.c | ||
aq_ethtool.h | ||
aq_filters.c | ||
aq_filters.h | ||
aq_hw_utils.c | ||
aq_hw_utils.h | ||
aq_hw.h | ||
aq_main.c | ||
aq_main.h | ||
aq_nic.c | ||
aq_nic.h | ||
aq_pci_func.c | ||
aq_pci_func.h | ||
aq_ring.c | ||
aq_ring.h | ||
aq_rss.h | ||
aq_utils.h | ||
aq_vec.c | ||
aq_vec.h | ||
Makefile | ||
ver.h |