On Fri, Dec 02, 2022 at 04:34:32PM +0100, Morten Brørup wrote: > Add "nonnull" function attribute to help the compiler detect a NULL > pointer being passed to a function not accepting NULL pointers as an > argument at build time. > > Add "access" function attribute to tell the optimizer how a function > accesses its pointer arguments. > > Add these attributes to the rte_memcpy() function, as the first in > hopefully many to come. > > Signed-off-by: Morten Brørup <m...@smartsharesystems.com> > ---
thanks for providing the non-gcc expansion to empty. Acked-by: Tyler Retzlaff <roret...@linux.microsoft.com>