torvalds-linux/drivers/infiniband/sw/rdmavt
Linus Torvalds d3ea547853 rdma: fix buggy code that the compiler warns about
Get rid of this warning:

  drivers/infiniband/sw/rdmavt/cq.c: In function ‘rvt_cq_exit’:
  drivers/infiniband/sw/rdmavt/cq.c:542:2: warning: ‘worker’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    kthread_destroy_worker(worker);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

by fixing the function to actually work.

Fixes: 6efaf10f16 ("IB/rdmavt: Avoid queuing work into a destroyed cq kthread worker")
Cc: Petr Mladek <pmladek@suse.com>
Cc: Doug Ledford <dledford@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-12-15 12:18:42 -08:00
..
ah.c
ah.h
cq.c rdma: fix buggy code that the compiler warns about 2016-12-15 12:18:42 -08:00
cq.h
dma.c
dma.h
Kconfig
mad.c
mad.h
Makefile
mcast.c
mcast.h
mmap.c
mmap.h
mr.c
mr.h
pd.c
pd.h
qp.c
qp.h
srq.c
srq.h
trace_mr.h
trace_qp.h
trace_rvt.h
trace_tx.h
trace.c
trace.h
vt.c
vt.h