Re: [PATCH v3 3/5] xen: Fix build when !CONFIG_GRANT_TABLE

2021-05-17 Thread Jan Beulich
On 18.05.2021 05:58, Connor Davis wrote: > > On 5/17/21 5:22 AM, Jan Beulich wrote: >> On 14.05.2021 20:53, Connor Davis wrote: >>> Move struct grant_table; in grant_table.h above >>> ifdef CONFIG_GRANT_TABLE. This fixes the following: >>> >>> /build/xen/include/xen/grant_table.h:84:50: error: 'st

Re: [PATCH v3 3/5] xen: Fix build when !CONFIG_GRANT_TABLE

2021-05-17 Thread Connor Davis
On 5/17/21 5:22 AM, Jan Beulich wrote: On 14.05.2021 20:53, Connor Davis wrote: Move struct grant_table; in grant_table.h above ifdef CONFIG_GRANT_TABLE. This fixes the following: /build/xen/include/xen/grant_table.h:84:50: error: 'struct grant_table' declared inside parameter list will not b

Re: [PATCH v3 3/5] xen: Fix build when !CONFIG_GRANT_TABLE

2021-05-17 Thread Connor Davis
On 5/17/21 5:22 AM, Jan Beulich wrote: On 14.05.2021 20:53, Connor Davis wrote: Move struct grant_table; in grant_table.h above ifdef CONFIG_GRANT_TABLE. This fixes the following: /build/xen/include/xen/grant_table.h:84:50: error: 'struct grant_table' declared inside parameter list will not b

Re: [PATCH v3 3/5] xen: Fix build when !CONFIG_GRANT_TABLE

2021-05-17 Thread Jan Beulich
On 14.05.2021 20:53, Connor Davis wrote: > Move struct grant_table; in grant_table.h above > ifdef CONFIG_GRANT_TABLE. This fixes the following: > > /build/xen/include/xen/grant_table.h:84:50: error: 'struct grant_table' > declared inside parameter list will not be visible outside of this > defini

[PATCH v3 3/5] xen: Fix build when !CONFIG_GRANT_TABLE

2021-05-14 Thread Connor Davis
Move struct grant_table; in grant_table.h above ifdef CONFIG_GRANT_TABLE. This fixes the following: /build/xen/include/xen/grant_table.h:84:50: error: 'struct grant_table' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 84 | static inline i