OSDN Git Service

libertas: fix a potential NULL pointer dereference
authorAllen Pais <allen.pais@oracle.com>
Wed, 18 Sep 2019 16:35:00 +0000 (22:05 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 1 Oct 2019 09:21:37 +0000 (12:21 +0300)
commit7da413a18583baaf35dd4a8eb414fa410367d7f2
tree577b64dc9fc6c32fe33cd0526bc72d6a9fd71cf9
parenta0d46f7a0fa5e2a447a25c87612040babf7a3e18
libertas: fix a potential NULL pointer dereference

alloc_workqueue is not checked for errors and as a result,
a potential NULL dereference could occur.

Signed-off-by: Allen Pais <allen.pais@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/libertas/if_sdio.c