diff options
author | Lipeng <lipeng321@huawei.com> | 2017-09-19 17:17:16 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-19 16:06:49 -0700 |
commit | 90f7b11a5a0081feb7041fcc795c9a131a62a725 (patch) | |
tree | 2fb9b08c5e24c072dbaf39e4126e882a3ded4a1c /lib/dma-virt.c | |
parent | 5e43aef8491ae3b5feb79cd15260faf39303ef33 (diff) |
net: hns3: Fixes the premature exit of loop when matching clients
When register/unregister ae_dev, ae_dev should match all client
in the client_list. Enet and roce can co-exists together so we
should continue checking for enet and roce presence together.
So break should not be there.
Above caused problems in loading and unloading of modules.
Fixes: 38eddd126772 ("net: hns3: Add support of the HNAE3 framework")
Signed-off-by: Lipeng <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/dma-virt.c')
0 files changed, 0 insertions, 0 deletions