Skip to content
Commit e729452e authored by Christophe JAILLET's avatar Christophe JAILLET Committed by David S. Miller
Browse files

cxgb4: Fix error handling path in 'init_one()'

Commit baf50868 ("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: baf50868

 ("cxgb4: restructure VF mgmt code")
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4d80ecdb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment