Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3bb257d authored by Andrew Morton's avatar Andrew Morton Committed by J. Bruce Fields
Browse files

net/sunrpc/svc.c: suppress unintialized var warning



net/sunrpc/svc.c: In function '__svc_create_thread':
net/sunrpc/svc.c:587: warning: 'oldmask.bits[0u]' may be used uninitialized in this function

Cc: Neil Brown <neilb@suse.de>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Tom Tucker <tom@opengridcomputing.com>
Cc: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
parent 30aef316
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -590,7 +590,7 @@ __svc_create_thread(svc_thread_fn func, struct svc_serv *serv,
	struct svc_rqst	*rqstp;
	int		error = -ENOMEM;
	int		have_oldmask = 0;
	cpumask_t	oldmask;
	cpumask_t	uninitialized_var(oldmask);

	rqstp = svc_prepare_thread(serv, pool);
	if (IS_ERR(rqstp)) {