]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sunrpc: fix warning in net/sunrpc/xprtrdma/svc_rdma_transport.c
authorIngo Molnar <mingo@elte.hu>
Wed, 26 Nov 2008 00:49:37 +0000 (16:49 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2008 00:49:37 +0000 (16:49 -0800)
commited72b9c6e0ec4e66dd16b7ca212845e1eb985d65
tree731d4865ab1b2c3acbc8077b6a03f33b87017a53
parentbe5a3c62c805878d67036b4683f09118cab4c9fd
sunrpc: fix warning in net/sunrpc/xprtrdma/svc_rdma_transport.c

this warning:

  net/sunrpc/xprtrdma/svc_rdma_transport.c: In function ‘svc_rdma_accept’:
  net/sunrpc/xprtrdma/svc_rdma_transport.c:830: warning: ‘dma_mr_acc’ may be used uninitialized in this function

triggers because GCC does not recognize the (correct) flow connection
between need_dma_mr and dma_mr_acc.

Annotate it.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sunrpc/xprtrdma/svc_rdma_transport.c