[PATCH v2] hash: cast away atomic qualification
Thomas Monjalon
thomas at monjalon.net
Sun May 26 16:51:17 CEST 2024
22/05/2024 18:33, Tyler Retzlaff:
> rte_free accepts only non-cva qualified arguments so cast away
> RTE_ATOMIC qualification for tbl_chng_cnt and h->tbl_chng_cnt when
> calling rte_free.
>
> Without this change using enable_stdatomic=true with LLVM or MSVC will
> result in a warning being emitted for discarding the atomic
> qualification.
>
> Signed-off-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
Applied, thanks.
More information about the dev
mailing list