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

2022-03-25 Thread David Hunt
Hi Shibin, On 22/3/2022 2:43 PM, Shibin Koikkara Reeny wrote: 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 ali

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

2022-03-22 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