Re: drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h:1174:29: error: enumerator value for 'i40e_static_assert_i40e_aqc_cloud_filters_element_data' is not an integer constant

From: Arnd Bergmann
Date: Wed Jun 15 2022 - 11:56:48 EST


On Wed, Jun 15, 2022 at 5:51 PM Jakub Kicinski <kuba@xxxxxxxxxx> wrote:
>
> On Wed, 15 Jun 2022 16:11:17 +0200 Arnd Bergmann wrote:
> > The bug is that 'i40e_aqc_cloud_filters_element_data' and some other
> > structures in the
> > same file are broken when building an ARM kernel without CONFIG_AEABI, which has
> > unusual struct packing rules and triggers the static assertion.
>
> What are those packing rules, out of curiosity?

On the old OABI, each struct member is on a 32-bit boundary.

Arnd