linux-next: build warning after merge of the rdma tree

From: Stephen Rothwell
Date: Wed Jul 25 2018 - 20:55:59 EST

Hi all,

After merging the rdma tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

net/sunrpc/xprtrdma/svc_rdma_rw.c: In function 'svc_rdma_post_chunk_ctxt':
net/sunrpc/xprtrdma/svc_rdma_rw.c:350:5: warning: 'bad_wr' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (bad_wr != first_wr)

Introduced by commit

ed288d74a9e5 ("net/xprtrdma: Simplify ib_post_(send|recv|srq_recv)() calls")

This is an actual problem.

Stephen Rothwell

Attachment: pgp04Tczc77TG.pgp
Description: OpenPGP digital signature