Re: [PATCH 4/4] xen/public: Use -Wpadding for public headers

2024-04-18 Thread Jan Beulich
On 15.04.2024 17:41, Andrew Cooper wrote: > RFC. In theory this is a great way to avoid some of the spiketraps involved > with C being the official representation. > > However, this doesn't build. gnttab_transfer has a layout that requires a > CONFIG_COMPAT if we want to satisfy -Wpadding for

Re: [PATCH 4/4] xen/public: Use -Wpadding for public headers

2024-04-18 Thread Jan Beulich
On 16.04.2024 00:15, Stefano Stabellini wrote: > On Mon, 15 Apr 2024, Andrew Cooper wrote: >> RFC. In theory this is a great way to avoid some of the spiketraps involved >> with C being the official representation. >> >> However, this doesn't build. gnttab_transfer has a layout that requires a

Re: [PATCH 4/4] xen/public: Use -Wpadding for public headers

2024-04-15 Thread Stefano Stabellini
On Mon, 15 Apr 2024, Andrew Cooper wrote: > RFC. In theory this is a great way to avoid some of the spiketraps involved > with C being the official representation. > > However, this doesn't build. gnttab_transfer has a layout that requires a > CONFIG_COMPAT if we want to satisfy -Wpadding for

[PATCH 4/4] xen/public: Use -Wpadding for public headers

2024-04-15 Thread Andrew Cooper
RFC. In theory this is a great way to avoid some of the spiketraps involved with C being the official representation. However, this doesn't build. gnttab_transfer has a layout that requires a CONFIG_COMPAT if we want to satisfy -Wpadding for both forms of the structure. Thoughts on whether