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: 6efaf10f163d ("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
..
2016-12-14 11:22:26 -08:00
2016-12-13 15:30:50 -08:00
2016-12-06 21:33:19 -05:00
2016-12-13 11:42:18 -08:00
2016-12-14 10:49:33 -08:00
2016-12-08 07:44:56 +01:00
2016-12-14 20:54:33 -08:00
2016-12-12 11:25:40 -08:00
2016-12-13 10:41:53 -08:00
2016-12-06 02:25:03 +01:00
2016-12-14 13:31:29 -08:00
2016-12-14 16:04:09 -08:00
2016-12-08 01:46:07 +01:00
2016-12-14 20:42:45 -08:00
2016-12-14 11:14:28 -08:00
2016-12-14 11:12:25 -08:00
2016-12-13 07:54:57 -08:00
2016-12-14 16:04:09 -08:00
2016-12-14 10:12:26 +01:00
2016-12-06 11:52:49 +01:00
2016-12-12 11:33:44 -08:00
2016-12-13 10:41:53 -08:00
2016-12-15 12:18:42 -08:00
2016-12-14 11:18:51 -08:00
2016-12-12 19:25:04 -08:00
2016-12-13 16:39:21 -08:00
2016-12-14 11:12:25 -08:00
2016-12-13 12:11:01 -08:00
2016-12-14 11:01:00 -08:00
2016-12-14 17:25:18 -08:00
2016-12-13 10:19:16 -08:00
2016-12-14 10:49:33 -08:00
2016-12-14 11:12:25 -08:00
2016-12-14 17:25:18 -08:00
2016-12-14 10:55:56 -08:00
2016-12-15 12:03:32 -08:00
2016-12-12 21:58:13 -08:00
2016-12-15 12:03:32 -08:00
2016-12-15 11:49:41 -08:00
2016-12-13 16:33:33 -08:00
2016-12-12 18:55:06 -08:00
2016-12-14 10:49:33 -08:00
2016-12-13 07:59:10 -08:00
2016-12-13 12:11:01 -08:00
2016-12-14 11:18:51 -08:00
2016-12-12 19:56:15 -08:00
2016-12-15 11:45:13 -08:00
2016-12-14 11:14:28 -08:00
2016-12-09 16:16:56 -08:00
2016-12-13 08:52:45 -08:00
2016-12-12 19:56:15 -08:00
2016-12-14 10:49:33 -08:00
2016-12-14 11:12:25 -08:00
2016-12-12 18:55:08 -08:00
2016-12-13 08:54:27 -08:00
2016-12-14 20:42:45 -08:00
2016-12-14 16:04:09 -08:00
2016-12-14 10:49:33 -08:00
2016-12-13 10:41:53 -08:00
2016-12-13 12:11:01 -08:00
2016-12-14 20:42:45 -08:00
2016-12-10 14:57:58 +01:00
2016-12-14 17:25:18 -08:00
2016-12-14 16:04:08 -08:00
2016-12-12 10:48:02 -08:00
2016-12-13 16:07:55 -08:00
2016-12-13 12:11:01 -08:00
2016-12-14 16:04:09 -08:00