Re: [PATCH] net: dsa: mv88e6xxx: fix uninitialized error return

2016-04-28 Thread David Miller
From: Colin King Date: Mon, 25 Apr 2016 23:11:22 +0100 > From: Colin Ian King > > The error return err is not initialized and there is a possibility > that err is not assigned causing mv88e6xxx_port_bridge_join to > return a garbage error return status. Fix this by initializing err > to 0. > >

Re: [PATCH] net: dsa: mv88e6xxx: fix uninitialized error return

2016-04-25 Thread Vivien Didelot
Hi Colin, Colin King writes: > From: Colin Ian King > > The error return err is not initialized and there is a possibility > that err is not assigned causing mv88e6xxx_port_bridge_join to > return a garbage error return status. Fix this by initializing err > to 0. > > Signed-off-by: Colin Ian K

[PATCH] net: dsa: mv88e6xxx: fix uninitialized error return

2016-04-25 Thread Colin King
From: Colin Ian King The error return err is not initialized and there is a possibility that err is not assigned causing mv88e6xxx_port_bridge_join to return a garbage error return status. Fix this by initializing err to 0. Signed-off-by: Colin Ian King --- drivers/net/dsa/mv88e6xxx.c | 2 +-