diff options
| author | Martin Kaiser <[email protected]> | 2021-05-17 22:18:22 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-05-19 17:54:50 +0200 |
| commit | 565a45a1c301908b169eeae56f21b9f306f6346d (patch) | |
| tree | f4686854fdc7884a63e2cfe95603ddb932346960 /tools/perf/scripts/python/stackcollapse.py | |
| parent | d5af74ead205c87c3f4ef479dc937a8e628613a0 (diff) | |
staging: rtl8188eu: use safe iterator in rtw_free_all_stainfo
This is another case where we may remove list entries while we iterate over
the list. Use list_for_each_entry_safe to avoid an endless loop.
Fixes: 23017c8842d2 ("staging: rtl8188eu: Use list iterators and helpers")
Signed-off-by: Martin Kaiser <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions