Re: [PATCH] phy: marvell: remove conflicting initializer

2017-01-24 Thread David Miller
From: Arnd Bergmann Date: Mon, 23 Jan 2017 13:18:41 +0100 > One line was apparently pasted incorrectly during a new feature patch: > > drivers/net/phy/marvell.c:2090:15: error: initialized field overwritten > [-Werror=override-init] >.features = PHY_GBIT_FEATURES, > > I'm removing the extr

Re: [PATCH] phy: marvell: remove conflicting initializer

2017-01-23 Thread Andrew Lunn
> Great question! I have sent out patches for a couple of actual bugs that > came from this warning in the past few months. > > I still have a couple of patches that I have not sent out so far, > I think they are all false-positives, and I have not found a good > workaround for most of them other

Re: [PATCH] phy: marvell: remove conflicting initializer

2017-01-23 Thread Arnd Bergmann
On Monday, January 23, 2017 4:19:41 PM CET Andrew Lunn wrote: > On Mon, Jan 23, 2017 at 01:18:41PM +0100, Arnd Bergmann wrote: > > One line was apparently pasted incorrectly during a new feature patch: > > > > drivers/net/phy/marvell.c:2090:15: error: initialized field overwritten > > [-Werror=ov

Re: [PATCH] phy: marvell: remove conflicting initializer

2017-01-23 Thread Andrew Lunn
On Mon, Jan 23, 2017 at 01:18:41PM +0100, Arnd Bergmann wrote: > One line was apparently pasted incorrectly during a new feature patch: > > drivers/net/phy/marvell.c:2090:15: error: initialized field overwritten > [-Werror=override-init] >.features = PHY_GBIT_FEATURES, > > I'm removing the e