linux-next: build warning after merge of the nfs-anna tree
Subsystems (3)
Hi all,
After merging the nfs-anna tree, today's linux-next build (powerpc ppc44x_defconfig, sparc defconfig) produced this warning:
net/sunrpc/stats.c: In function 'rpc_clnt_show_stats':/home/sfr/next/next/net/sunrpc/stats.c:258:32: warning: excess elements in struct initializer
struct rpc_iostats stats = { 0 };
^Introduced by commit
c3b588a2d5be ("sunrpc: Change rpc_print_iostats to rpc_clnt_show_stats and handle rpc_clnt clones")
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 9 lines · Stephen Rothwell
Hi all,
After merging the nfs-anna tree, today's linux-next build (powerpc
ppc44x_defconfig, sparc defconfig) produced this warning:
net/sunrpc/stats.c: In function 'rpc_clnt_show_stats':/home/sfr/next/next/net/sunrpc/stats.c:258:32: warning: excess elements in struct initializer
structrpc_iostatsstats = { 0 };
Apologies I did not see this before submission.
The below fixup compiles without warning for me on ppc64le.
struct rpc_iostats stats = {};
Quoted 6 lines
^Introduced by commit
c3b588a2d5be("sunrpc: Changerpc_print_iostatstorpc_clnt_show_statsand handlerpc_clntclones")
Hi David,
Quoted 11 lines · David Wysochanski
Quoted 9 lines · Stephen Rothwell
Hi all,
After merging the nfs-anna tree, today's linux-next build (powerpc
ppc44x_defconfig, sparc defconfig) produced this warning:
net/sunrpc/stats.c: In function 'rpc_clnt_show_stats':/home/sfr/next/next/net/sunrpc/stats.c:258:32: warning: excess elements in struct initializer
structrpc_iostatsstats = { 0 };
Quoted 5 lines
Apologies I did not see this before submission.
The below fixup compiles without warning for me on ppc64le.
struct
rpc_iostatsstats = {};
Can you resend the patch with that change, please?
Thanks,
Anna
Quoted 13 lines
Quoted 8 lines
^Introduced by commit
c3b588a2d5be("sunrpc: Changerpc_print_iostatstorpc_clnt_show_statsand handlerpc_clntclones")--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html