diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2018-02-06 21:17:17 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-08 03:46:06 +0100 |
commit | e729452ec33304260d4741e9ce67784a457ee1e6 (patch) | |
tree | 6cb86722c7c984b82c01d81580373c0d94374e35 /lib/sg_pool.c | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf (diff) | |
download | linux-e729452ec33304260d4741e9ce67784a457ee1e6.tar.xz linux-e729452ec33304260d4741e9ce67784a457ee1e6.zip |
cxgb4: Fix error handling path in 'init_one()'
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@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/sg_pool.c')
0 files changed, 0 insertions, 0 deletions