From: Andrew Morton I'm tired of reading this: fs/nfs/callback_xdr.c: In function 'nfs4_callback_compound': fs/nfs/callback_xdr.c:404: warning: 'hdr_arg.taglen' may be used uninitialized in this function fs/nfs/callback_xdr.c:404: warning: 'hdr_arg.tag' may be used uninitialized in this function fs/nfs/callback_xdr.c:404: warning: 'hdr_arg.nops' may be used uninitialized in this function Cc: Trond Myklebust Cc: "J. Bruce Fields" Signed-off-by: Andrew Morton --- fs/nfs/callback_xdr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/nfs/callback_xdr.c~fs-nfs-callback_xdrc-suppress-uninitialiized-variable-warnings fs/nfs/callback_xdr.c --- a/fs/nfs/callback_xdr.c~fs-nfs-callback_xdrc-suppress-uninitialiized-variable-warnings +++ a/fs/nfs/callback_xdr.c @@ -401,7 +401,7 @@ static __be32 process_op(struct svc_rqst */ static __be32 nfs4_callback_compound(struct svc_rqst *rqstp, void *argp, void *resp) { - struct cb_compound_hdr_arg hdr_arg; + struct cb_compound_hdr_arg uninitialized_var(hdr_arg); struct cb_compound_hdr_res hdr_res; struct xdr_stream xdr_in, xdr_out; __be32 *p; _