> From: Morten Brørup [mailto:m...@smartsharesystems.com]
> Sent: Monday, 16 January 2023 14.07
> 
> 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 attributes to tell the compiler how a function
> accesses memory pointed to by 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>
> Acked-by: Tyler Retzlaff <roret...@linux.microsoft.com>
> Reviewed-by: Ruifeng Wang <ruifeng.w...@arm.com>
> ---

David,

Patch parts 1, 2 and 3 are essentially individual stand-alone patches, and can 
be merged as such.

I only made them part of this series because they were required for the primary 
patch 4.

When I have some time to spare, I will send a new patch, adding the nonnull and 
access attributes, based on the received feedback.


PS: This patch series got the wrong name by mistake.

Reply via email to