> From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Friday, 5 April 2024 18.53 > > Rte_memcpy should not be used for the simple case of copying > a fix size structure because it is slower and will hide problems
"it is slower"... not always true. Perhaps: "it is not faster than memcpy". > from code analysis tools. Coverity, fortify and other analyzers > special case memcpy(). > > Gcc (and Clang) are smart enough to inline copies which > will be faster. "faster" -> "just as fast". > > Signed-off-by: Stephen Hemminger <step...@networkplumber.org> > --- With the updated description, For the series, Acked-by: Morten Brørup <m...@smartsharesystems.com>