diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2014-09-15 23:28:46 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-15 23:42:59 +0200 |
commit | d6ce2628f32271c037a8c12e1994c9fba3a4af49 (patch) | |
tree | 6fefde03139b1df259601148ab31525e0130992b /drivers/Kconfig | |
parent | bridge: Fix br_should_learn to check vlan_enabled (diff) | |
download | linux-d6ce2628f32271c037a8c12e1994c9fba3a4af49.tar.xz linux-d6ce2628f32271c037a8c12e1994c9fba3a4af49.zip |
cxgb4: Don't allocate adapter structure for all PF's
commit 35b1de557970 ("rdma/cxgb4: Fixes cxgb4 probe failure in VM when PF is
exposed through PCI Passthrough") moved the code to check for SR-IOV PF[0..3]
much further down in init_one() past the point where we allocate a (struct
adapter) for PF[0..3]. As a result, we left four of these on ever module remove.
Fix: Allocate adapter structure only for PF4
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/Kconfig')
0 files changed, 0 insertions, 0 deletions