diff options
| author | Andrew Morton <[email protected]> | 2008-03-12 14:04:25 -0700 |
|---|---|---|
| committer | J. Bruce Fields <[email protected]> | 2008-04-23 16:13:40 -0400 |
| commit | c3bb257d2d3a1a4e49372b9d74eaebe0fcf110dd (patch) | |
| tree | 3a351ef308ca165516d05a4c61e6b4532097d3c7 | |
| parent | 30aef3166ab27f7bcb14c5e809205af8126fa10b (diff) | |
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 <[email protected]>
Cc: Trond Myklebust <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: Tom Tucker <[email protected]>
Cc: Chuck Lever <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
| -rw-r--r-- | net/sunrpc/svc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index 7efb5133eb71..a6e68190e0d2 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c @@ -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)) { |