Re: [PATCH net-next v1] net: stmmac: initialize the reset delay array

2019-06-20 Thread Martin Blumenstingl
On Wed, Jun 19, 2019 at 11:41 PM David Miller wrote: > > From: Martin Blumenstingl > Date: Tue, 18 Jun 2019 22:39:27 +0200 > > > Commit ce4ab73ab0c27c ("net: stmmac: drop the reset delays from struct > > stmmac_mdio_bus_data") moved the reset delay array from struct > > stmmac_mdio_bus_data to a

Re: [PATCH net-next v1] net: stmmac: initialize the reset delay array

2019-06-19 Thread David Miller
From: Martin Blumenstingl Date: Tue, 18 Jun 2019 22:39:27 +0200 > Commit ce4ab73ab0c27c ("net: stmmac: drop the reset delays from struct > stmmac_mdio_bus_data") moved the reset delay array from struct > stmmac_mdio_bus_data to a stack variable. > The values from the array inside struct stmmac_md

Re: [PATCH net-next v1] net: stmmac: initialize the reset delay array

2019-06-18 Thread Martin Blumenstingl
On Tue, Jun 18, 2019 at 10:39 PM Martin Blumenstingl wrote: > > Commit ce4ab73ab0c27c ("net: stmmac: drop the reset delays from struct > stmmac_mdio_bus_data") moved the reset delay array from struct > stmmac_mdio_bus_data to a stack variable. > The values from the array inside struct stmmac_mdio_

[PATCH net-next v1] net: stmmac: initialize the reset delay array

2019-06-18 Thread Martin Blumenstingl
Commit ce4ab73ab0c27c ("net: stmmac: drop the reset delays from struct stmmac_mdio_bus_data") moved the reset delay array from struct stmmac_mdio_bus_data to a stack variable. The values from the array inside struct stmmac_mdio_bus_data were previously initialized to 0 because the struct was alloca