summaryrefslogtreecommitdiff
path: root/drivers/crypto
diff options
context:
space:
mode:
authorKangjie Lu <kjlu@umn.edu>2019-03-12 11:05:02 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-31 16:48:16 +0300
commit2f3201b23b69bbae2f9fec18648b45df5cd93960 (patch)
tree17058b4c4e0ce694cff5e90f4806843115334001 /drivers/crypto
parentbc2c8535a6b412eba45bc11ea34521309ba00b35 (diff)
downloadlinux-2f3201b23b69bbae2f9fec18648b45df5cd93960.tar.xz
net: cw1200: fix a NULL pointer dereference
[ Upstream commit 0ed2a005347400500a39ea7c7318f1fea57fb3ca ] In case create_singlethread_workqueue fails, the fix free the hardware and returns NULL to avoid NULL pointer dereference. Signed-off-by: Kangjie Lu <kjlu@umn.edu> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions