Messages in this thread | | | Date | Wed, 25 Jul 2018 21:05:03 -0600 | From | Jason Gunthorpe <> | Subject | Re: linux-next: build warning after merge of the rdma tree |
| |
On Thu, Jul 26, 2018 at 10:55:53AM +1000, Stephen Rothwell wrote: > 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) > ^
Huh. I'm quite surprised 0-day build service didn't warn on this.
> Introduced by commit > > ed288d74a9e5 ("net/xprtrdma: Simplify ib_post_(send|recv|srq_recv)() calls") > > This is an actual problem.
Yes, for sure. Bart?
Thanks, Jason
| |