[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH for-next 4/6] xen: Fix build when !CONFIG_GRANT_TABLE
On Thu, Feb 25, 2021 at 04:53:23PM +0100, Jan Beulich wrote: > On 25.02.2021 16:24, Connor Davis wrote: > > --- a/xen/include/xen/grant_table.h > > +++ b/xen/include/xen/grant_table.h > > @@ -66,6 +66,8 @@ int gnttab_acquire_resource( > > > > #define opt_max_grant_frames 0 > > > > +struct grant_table {}; > > + > > static inline int grant_table_init(struct domain *d, > > int max_grant_frames, > > int max_maptrack_frames) > > You shouldn't actually declare a struct, all you need is to > move the forward decl further up in the file ahead of the > #ifdef. Thanks, will fix this in v2. Connor
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |