Kangjie Lu 23015b22e4 rapidio: fix a NULL pointer dereference when create_workqueue() fails
In case create_workqueue fails, the fix releases resources and returns
-ENOMEM to avoid NULL pointer dereference.

Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Acked-by: Alexandre Bounine <alex.bou9@gmail.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-05-14 19:52:50 -07:00
..
2019-05-14 10:30:10 -07:00
2019-05-08 12:25:12 -07:00
2019-05-07 09:18:12 -07:00
2019-05-09 08:51:45 -07:00
2019-05-08 21:35:19 -07:00
2019-05-14 10:39:08 -07:00
2019-05-14 10:45:03 -07:00
2019-05-07 08:50:40 -07:00
2019-05-14 10:39:08 -07:00
2019-05-14 10:30:10 -07:00
2019-05-14 10:39:08 -07:00
2019-05-07 18:14:36 -07:00
2019-05-07 12:56:19 -07:00
2019-05-14 10:39:08 -07:00
2019-05-14 10:30:10 -07:00
2019-05-07 12:56:19 -07:00
2019-05-14 10:39:08 -07:00
2019-05-07 18:14:36 -07:00
2019-05-08 10:12:46 -07:00
2019-05-09 08:40:55 -07:00
2019-05-14 10:30:10 -07:00
2019-05-08 10:03:52 -07:00
2019-05-14 10:39:08 -07:00
2019-05-14 10:39:08 -07:00
2019-05-10 12:57:15 -04:00
2019-05-12 07:00:21 -04:00
2019-05-14 10:45:03 -07:00
2019-05-08 10:12:46 -07:00
2019-05-09 08:51:45 -07:00
2019-05-14 10:45:03 -07:00
2019-05-07 13:39:22 -07:00
2019-05-13 09:20:42 -04:00