> -----Original Message----- > From: Jan Beulich <jbeul...@suse.com> > Sent: 20 November 2020 15:16 > To: Paul Durrant <p...@xen.org> > Cc: Paul Durrant <pdurr...@amazon.com>; Andrew Cooper > <andrew.coop...@citrix.com>; George Dunlap > <george.dun...@citrix.com>; Ian Jackson <i...@xenproject.org>; Julien Grall > <jul...@xen.org>; Stefano > Stabellini <sstabell...@kernel.org>; Wei Liu <w...@xen.org>; > xen-devel@lists.xenproject.org > Subject: Re: [PATCH v2 07/12] xen/include: import sizeof_field() macro from > Linux stddef.h > > On 20.11.2020 10:48, Paul Durrant wrote: > > From: Paul Durrant <pdurr...@amazon.com> > > > > Co-locate it with the definition of offsetof() (since this is also in > > stddef.h > > in the Linux kernel source). This macro will be needed in a subsequent > > patch. > > > > Signed-off-by: Paul Durrant <pdurr...@amazon.com> > > Acked-by: Jan Beulich <jbeul...@suse.com> > > You don't fancy replacing in the tree what is now effectively > open-coding this construct, I guess? I'll try to remember to > do so once this has gone in... >
I'll see what I can find after this series is in, unless you get there first :-) Paul