Re: [PATCH] common/sfc: replace out of bounds condition with static_assert

2024-02-12 Thread Andrew Rybchenko
On 1/19/24 02:05, Morten Brørup wrote: From: Stephen Hemminger [mailto:step...@networkplumber.org] Sent: Thursday, 18 January 2024 21.18 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. Fix

RE: [PATCH] common/sfc: replace out of bounds condition with static_assert

2024-01-18 Thread Morten Brørup
> From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Thursday, 18 January 2024 21.18 > > 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. > > Fixes: f67e4719147d ("net/sf