> -----Original Message----- > From: Thomas Monjalon <tho...@monjalon.net> > 01/03/2022 15:53, Shibin Koikkara Reeny: > > Linux header files don't support LIST_FOREACH_SAFE so replacing > > LIST_FOREACH with while loop. > > What is the original issue you are trying to solve? Asan tool reported LIST_FOREACH should be replaced with LIST_FOREACH_SAFE but Linux don't have LIST_FOREACH_SAFE API. So replacing it with while loop.
Regards, Shibin