Re: [PATCH net-next 01/10] drivers: net: xgene: Fix kbuild warning

2016-07-30 Thread Arnd Bergmann
On Friday, July 29, 2016 5:33:54 PM CEST Iyappan Subramanian wrote: > This patch fixes the following kbuild warning, when ACPI was not enabled. > > >> drivers/net/ethernet/apm/xgene/xgene_enet_hw.c:878:23: warning: 'phy_dev' > >> may be used uninitialized in this function [-Wmaybe-uninitialized]

[PATCH net-next 01/10] drivers: net: xgene: Fix kbuild warning

2016-07-29 Thread Iyappan Subramanian
This patch fixes the following kbuild warning, when ACPI was not enabled. >> drivers/net/ethernet/apm/xgene/xgene_enet_hw.c:878:23: warning: 'phy_dev' >> may be used uninitialized in this function [-Wmaybe-uninitialized] phy_dev->advertising = phy_dev->supported; Signed-off-by: Iyappan