summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro
diff options
context:
space:
mode:
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>2017-07-08 06:51:35 +0200
committerDavid S. Miller <davem@davemloft.net>2017-07-11 10:54:15 -0700
commitfdf99b3ffcdd8471ee3104512198a178b7351a02 (patch)
tree58e61999a6b2017846c3da5aa5efdc3ed879f7ff /drivers/net/ethernet/stmicro
parent4c17e1febd73c3b2467fd9f67e0017a82805196a (diff)
downloadlinux-fdf99b3ffcdd8471ee3104512198a178b7351a02.tar.bz2
cisco: enic: Fic an error handling path in 'vnic_dev_init_devcmd2()'
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@wanadoo.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro')
0 files changed, 0 insertions, 0 deletions