Re: [PATCH net-next] net: dsa: Add error path handling in dsa_tree_setup()
On 5/30/19 2:17 AM, Andrew Lunn wrote: >> @@ -423,18 +434,41 @@ static int dsa_tree_setup_switches(struct >> dsa_switch_tree *dst) >> >> err = dsa_switch_setup(ds); >> if (err) >> -return err; >> +goto setup_switch_err; > > Mino
Re: [PATCH net-next] net: dsa: Add error path handling in dsa_tree_setup()
> @@ -423,18 +434,41 @@ static int dsa_tree_setup_switches(struct > dsa_switch_tree *dst) > > err = dsa_switch_setup(ds); > if (err) > - return err; > + goto setup_switch_err; Minor nit pick. All the other labels you add are e