Re: [PATCH v2] examples/vm_power: add support for list_foreach_safe

2022-03-21 Thread Stephen Hemminger
On Mon, 21 Mar 2022 09:33:42 + Shibin Koikkara Reeny wrote: > diff --git a/examples/vm_power_manager/channel_manager.c > b/examples/vm_power_manager/channel_manager.c > index 838465ab4b..d297b28114 100644 > --- a/examples/vm_power_manager/channel_manager.c > +++ b/examples/vm_power_manager/c

[PATCH v2] examples/vm_power: add support for list_foreach_safe

2022-03-21 Thread Shibin Koikkara Reeny
Asan tool reported LIST_FOREACH should be replaced with LIST_FOREACH_SAFE. Added support for LIST_FOREACH_SAFE macro in rte_os.h file as Linux header file sys/queue.h don't support LIST_FOREACH_SAFE macro. RTE_LIST_FOREACH_SAFE is alias for LIST_FOREACH_SAFE. Fixes: e8ae9b662506 ("examples/vm_powe