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 > definition or declaration [-Werror] > 84 | static inline int mem_sharing_gref_to_gfn(struct grant_table *gt, > |
There must be more to this, as e.g. the PV shim does get built with !GRANT_TABLE. Nevertheless, ... > Signed-off-by: Connor Davis <connojda...@gmail.com> ... since the potential of breaking the build is obvious enough, Acked-by: Jan Beulich <jbeul...@suse.com> Jan