On Tue, Jul 30, 2019 at 4:49 PM Heinrich Schuchardt wrote:
>
> SANDBOX_PHY_REG_CNT is not an allowable index for the array
> u16 reg[SANDBOX_PHY_REG_CNT].
>
> Identified by cppcheck.
>
> Fixes: b47edf8069cc ("test: dm_mdio: add a 2nd register to the emulated PHY")
> Signed-off-by: Heinrich
SANDBOX_PHY_REG_CNT is not an allowable index for the array
u16 reg[SANDBOX_PHY_REG_CNT].
Identified by cppcheck.
Fixes: b47edf8069cc ("test: dm_mdio: add a 2nd register to the emulated PHY")
Signed-off-by: Heinrich Schuchardt
---
v2
the same error occurs twice
---
2 matches
Mail list logo