Re: [PATCH] drivers: net: xgene: Remove unnecessary forward declarations

2018-12-14 Thread David Miller
From: Nathan Chancellor Date: Mon, 10 Dec 2018 21:20:30 -0700 > 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[]; >

[PATCH] drivers: net: xgene: Remove unnecessary forward declarations

2018-12-10 Thread Nathan Chancellor
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_m