On 2/12/2024 5:48 AM, Stephen Hemminger wrote:
> The sfc base code had its own definition of static assertions
> using the out of bound array access hack. Replace it with a
> static_assert like rte_common.h.
> 
> The use of null pointer to compute offset is not always a constant
> in older versions of clang. Use standard offsetof() instead.
> 
> Fixes: f67e4719147d ("net/sfc/base: fix coding style")
> Signed-off-by: Stephen Hemminger <step...@networkplumber.org>
> Acked-by: Morten Brørup <m...@smartsharesystems.com>
> Reviewed-by: Morten Brørup <m...@smartsharesystems.com>
> 

Moving ack from previous version:
Acked-by: Andrew Rybchenko <andrew.rybche...@oktetlabs.ru>

Applied to dpdk-next-net/main, thanks.

Reply via email to