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

David Marchand david.marchand at redhat.com
Thu Jun 23 16:16:01 CEST 2022


On Tue, Jun 7, 2022 at 7:18 PM Stephen Hemminger
<stephen at networkplumber.org> 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: stable at dpdk.org

>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>

We want to have gcc 12 enabled for rc2.
No news from the maintainers, so I'll go ahead with the only clean
enough proposal we have.
If you think this patch is wrong, please provide an alternative for rc3.
Thanks.

Patch applied in main directly, thanks Stephen.


-- 
David Marchand



More information about the dev mailing list