diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-10-10 16:08:28 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-13 15:57:10 +0200 |
commit | 88a2428b83db4328e69d1c0e2f7364041b8045bf (patch) | |
tree | aa5a79a3555a52c5e01aa5c591cde12dc045c153 /net | |
parent | tlan: avoid unused label with PCI=n (diff) | |
download | linux-88a2428b83db4328e69d1c0e2f7364041b8045bf.tar.xz linux-88a2428b83db4328e69d1c0e2f7364041b8045bf.zip |
qed: Fix to use list_for_each_entry_safe() when delete items
Since we will remove items off the list using list_del() we need
to use a safe version of the list_for_each_entry() macro aptly named
list_for_each_entry_safe().
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Yuval Mintz <Yuval.Mintz@caviumnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions