Ubuntu-focal-kernel/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
Makefile
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 IB/rdmavt: rdmavt can handle non aligned page maps 2016-11-15 16:16:40 -05:00
dma.h
mad.c
mad.h
mcast.c IB/hfi1: Replace qp->refcount release code with standard driver wrapper 2016-12-11 15:29:42 -05:00
mcast.h
mmap.c
mmap.h
mr.c IB/hfi1: Use reference count wrapper for MRs 2016-12-11 15:29:42 -05:00
mr.h
pd.c
pd.h
qp.c IB/rdmavt: Only put mmap_info ref if it exists 2016-12-14 12:16:11 -05:00
qp.h
srq.c
srq.h
trace.c
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
vt.h