On Wed, Apr 15, 2015 at 10:12:42PM -0700, Guenter Roeck wrote:There was, actually. No idea how I missed that. Fengguang's build bots caught it.
Return correct error code if _mv88e6xxx_reg_read returns an error.
Fixes: facd95b2e0ec0 ("net: dsa: mv88e6xxx: Add Hardware bridging support")
Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
Hi Guenter
Good catch. I'm surprised there is no compiler warning, possibly used
before set.
Reviewed-by: Andrew Lunn <andrew@xxxxxxx>Thanks!