> +#define rte_bit_test(addr, nr)                                               
> \
> +     _Generic((addr),                                                \
> +              uint32_t *: __rte_bit_test32,                          \
> +              const uint32_t *: __rte_bit_test32,                    \
> +              volatile uint32_t *: __rte_bit_v_test32,               \
> +              const volatile uint32_t *: __rte_bit_v_test32,         \

I had to read up on "const volatile *", and it checks out.

Acked-by: Morten Brørup <m...@smartsharesystems.com>

Reply via email to