Re: [Xen-devel] [PATCH XTF 4/4] build: Avoid using initialisers for anonymous unions

2017-09-28 Thread Andrew Cooper
On 28/09/17 13:37, Jan Beulich wrote: On 28.09.17 at 12:59, wrote: >> --- a/tests/livepatch-priv-check/main.c >> +++ b/tests/livepatch-priv-check/main.c >> @@ -38,23 +38,17 @@ static void check_ret(const char *test, int rc) >> static void test_upload(void) >> { >> static uint8_t payloa

Re: [Xen-devel] [PATCH XTF 4/4] build: Avoid using initialisers for anonymous unions

2017-09-28 Thread Jan Beulich
>>> On 28.09.17 at 12:59, wrote: > --- a/tests/livepatch-priv-check/main.c > +++ b/tests/livepatch-priv-check/main.c > @@ -38,23 +38,17 @@ static void check_ret(const char *test, int rc) > static void test_upload(void) > { > static uint8_t payload[PAGE_SIZE]; > -xen_sysctl_t op = > -

[Xen-devel] [PATCH XTF 4/4] build: Avoid using initialisers for anonymous unions

2017-09-28 Thread Andrew Cooper
GCC 4.4 of CentOS 6 vintage can't cope. Reported-by: Glenn Enright Signed-off-by: Andrew Cooper --- tests/livepatch-priv-check/main.c | 75 ++- 1 file changed, 26 insertions(+), 49 deletions(-) diff --git a/tests/livepatch-priv-check/main.c b/tests/livepatc