Re: [RFC 2/8] net/qede: fix gcc-12 rte_memcpy warnings

2022-06-23 Thread David Marchand
On Tue, Jun 7, 2022 at 7:18 PM Stephen Hemminger wrote: > > The x86 version of rte_memcpy can cause warnings. The driver does > not need to use rte_memcpy for everything. Standard memcpy is > just as fast and safer; the compiler and static analysis tools > treat memcpy specially. Cc: sta...@dpdk.

[RFC 2/8] net/qede: fix gcc-12 rte_memcpy warnings

2022-06-07 Thread Stephen Hemminger
The x86 version of rte_memcpy can cause warnings. The driver does not need to use rte_memcpy for everything. Standard memcpy is just as fast and safer; the compiler and static analysis tools treat memcpy specially. Signed-off-by: Stephen Hemminger --- drivers/net/qede/base/bcm_osal.h | 3 +-- d