Re: [PATCH] cxgb4: Fix error handling path in 'init_one()'

From: David Miller
Date: Wed Feb 07 2018 - 21:46:54 EST


From: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
Date: Tue, 6 Feb 2018 21:17:17 +0100

> Commit baf5086840ab1 ("cxgb4: restructure VF mgmt code") has reordered
> some code but an error handling label has not been updated accordingly.
> So fix it and free 'adapter' if 't4_wait_dev_ready()' fails.
>
> Fixes: baf5086840ab1 ("cxgb4: restructure VF mgmt code")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>

Applied, thank you.