> -----Original Message----- > From: Jan Beulich <[email protected]> > Sent: 20 November 2020 15:16 > To: Paul Durrant <[email protected]> > Cc: Paul Durrant <[email protected]>; Andrew Cooper > <[email protected]>; George Dunlap > <[email protected]>; Ian Jackson <[email protected]>; Julien Grall > <[email protected]>; Stefano > Stabellini <[email protected]>; Wei Liu <[email protected]>; > [email protected] > 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 <[email protected]> > > > > 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 <[email protected]> > > Acked-by: Jan Beulich <[email protected]> > > 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
