Re: [PATCH] cisco: enic: Fic an error handling path in 'vnic_dev_init_devcmd2()'

From: David Miller
Date: Tue Jul 11 2017 - 13:55:14 EST


From: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
Date: Sat, 8 Jul 2017 06:51:35 +0200

> if 'ioread32()' returns 0xFFFFFFF, we have to go through the error
> handling path as done everywhere else in this function.
>
> Move the 'err_free_wq' label to better match its name and its location
> and add a new label 'err_disable_wq'.
> Update the code accordingly.
>
> Fixes: 373fb0873d43 ("enic: add devcmd2")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>

Looks good, applied, thanks.