[PATCH 1/3] eal/riscv: fix xmm_t casting for C++
David Marchand
david.marchand at redhat.com
Mon Jun 13 11:29:41 CEST 2022
On Thu, Jun 9, 2022 at 2:17 PM Stanislaw Kardach <kda at semihalf.com> wrote:
>
> rte_xmm_t is a union type which wraps around xmm_t and maps its contents
> to scalar structures. Since C++ has stricter type conversion rules than
> C, the rte_xmm_t::x has to be used instead of C-casting.
>
Fixes: f22e705ebf12 ("eal/riscv: support RISC-V architecture")
> Signed-off-by: Stanislaw Kardach <kda at semihalf.com>
Reviewed-by: David Marchand <david.marchand at redhat.com>
--
David Marchand
More information about the dev
mailing list