Re: [PATCH] NFSv4: Ensure gcc 4.4.4 can compile initialiser for "invalid_stateid"

2017-11-19 Thread Geert Uytterhoeven
On Sat, Nov 18, 2017 at 7:50 PM, Trond Myklebust wrote: > gcc 4.4.4 is too old to have full C11 anonymous union support, so > the current initialiser fails to compile. Thanks! Works fine with gcc-4.1.2, too. > Reported-by: Boris Ostrovsky > Signed-off-by: Trond Myklebust Reviewed-by: Geert Uy

Re: [PATCH] NFSv4: Ensure gcc 4.4.4 can compile initialiser for "invalid_stateid"

2017-11-18 Thread Boris Ostrovsky
On 11/18/2017 01:50 PM, Trond Myklebust wrote: gcc 4.4.4 is too old to have full C11 anonymous union support, so the current initialiser fails to compile. Reported-by: Boris Ostrovsky Signed-off-by: Trond Myklebust (compile-)Tested-by: Boris Ostrovsky --- fs/nfs/nfs4state.c | 4 ++--

[PATCH] NFSv4: Ensure gcc 4.4.4 can compile initialiser for "invalid_stateid"

2017-11-18 Thread Trond Myklebust
gcc 4.4.4 is too old to have full C11 anonymous union support, so the current initialiser fails to compile. Reported-by: Boris Ostrovsky Signed-off-by: Trond Myklebust --- fs/nfs/nfs4state.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4