mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 23:35:03 +07:00
2ab4c3426c
Clang warns: drivers/net/ethernet/apm/xgene/xgene_enet_main.c:33:36: warning: tentative array definition assumed to have one element static const struct acpi_device_id xgene_enet_acpi_match[]; ^ 1 warning generated. Both xgene_enet_acpi_match and xgene_enet_of_match are defined before their uses at the bottom of the file so this is unnecessary. When CONFIG_ACPI is disabled, ACPI_PTR becomes NULL so xgene_enet_acpi_match doesn't need to be defined. Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
xgene_enet_cle.c | ||
xgene_enet_cle.h | ||
xgene_enet_ethtool.c | ||
xgene_enet_hw.c | ||
xgene_enet_hw.h | ||
xgene_enet_main.c | ||
xgene_enet_main.h | ||
xgene_enet_ring2.c | ||
xgene_enet_ring2.h | ||
xgene_enet_sgmac.c | ||
xgene_enet_sgmac.h | ||
xgene_enet_xgmac.c | ||
xgene_enet_xgmac.h |