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
..
Kconfig IB/rdmavt: Disable by default 2016-08-03 21:03:31 -04:00
Makefile IB/rdmavt: Add support for tracing events 2016-03-10 20:37:24 -05:00
ah.c IB/rdmavt: Clean up comments and add more documentation 2016-03-10 20:38:08 -05:00
ah.h IB/rdmavt: Fix copyright date 2016-03-10 20:37:27 -05:00
cq.c rdma: fix buggy code that the compiler warns about 2016-12-15 12:18:42 -08:00
cq.h IB/rdmavt: Fix copyright date 2016-03-10 20:37:27 -05:00
dma.c IB/rdmavt: rdmavt can handle non aligned page maps 2016-11-15 16:16:40 -05:00
dma.h IB/rdmavt: Fix copyright date 2016-03-10 20:37:27 -05:00
mad.c IB/rdmavt: Clean up comments and add more documentation 2016-03-10 20:38:08 -05:00
mad.h IB/rdmavt: Clean up distinction between port number and index 2016-03-10 20:37:31 -05:00
mcast.c IB/hfi1: Replace qp->refcount release code with standard driver wrapper 2016-12-11 15:29:42 -05:00
mcast.h IB/rdmavt: Fix copyright date 2016-03-10 20:37:27 -05:00
mmap.c IB/rdmavt: Remove unnecessary exported functions 2016-03-10 20:38:10 -05:00
mmap.h IB/rdmavt: Remove unnecessary exported functions 2016-03-10 20:38:10 -05:00
mr.c IB/hfi1: Use reference count wrapper for MRs 2016-12-11 15:29:42 -05:00
mr.h IB/rdmavt: Add support for ib_map_mr_sg 2016-08-02 16:00:58 -04:00
pd.c IB/rdmavt: Clean up comments and add more documentation 2016-03-10 20:38:08 -05:00
pd.h IB/rdmavt: Fix copyright date 2016-03-10 20:37:27 -05:00
qp.c IB/rdmavt: Only put mmap_info ref if it exists 2016-12-14 12:16:11 -05:00
qp.h IB/rdmavt: Fix copyright date 2016-03-10 20:37:27 -05:00
srq.c IB/rdmavt: Remove unnecessary exported functions 2016-03-10 20:38:10 -05:00
srq.h IB/rdmavt: Add srq functionality to rdmavt 2016-03-10 20:37:30 -05:00
trace.c IB/rdmavt: Fix copyright date 2016-03-10 20:37:27 -05:00
trace.h IB/rdmavt: Add trace of MR segs 2016-12-11 15:29:42 -05:00
trace_mr.h IB/rdmavt: Add trace of MR segs 2016-12-11 15:29:42 -05:00
trace_qp.h IB/rdmavt: Fix trace hierarchy 2016-12-11 15:25:13 -05:00
trace_rvt.h IB/rdmavt: Fix trace hierarchy 2016-12-11 15:25:13 -05:00
trace_tx.h IB/rdmavt: Fix trace hierarchy 2016-12-11 15:25:13 -05:00
vt.c IB/rdmavt: Add support for ib_map_mr_sg 2016-08-02 16:00:58 -04:00
vt.h IB/rdmavt: Remove unnecessary exported functions 2016-03-10 20:38:10 -05:00