diff options
| author | Allen Pais <allen.pais@oracle.com> | 2019-09-18 22:06:58 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-28 15:38:51 +0100 |
| commit | d50a2a486d941417ca7abaebfe433a3af3c773fb (patch) | |
| tree | 34120c555bfa3b18e99f2c27bd26481a1038e604 /include/linux | |
| parent | 5ee83ceba8d9fed59c2b17edeb24d4fe4a5d95fd (diff) | |
scsi: qla2xxx: fix a potential NULL pointer dereference
commit 35a79a63517981a8aea395497c548776347deda8 upstream.
alloc_workqueue is not checked for errors and as a result a potential
NULL dereference could occur.
Link: https://lore.kernel.org/r/1568824618-4366-1-git-send-email-allen.pais@oracle.com
Signed-off-by: Allen Pais <allen.pais@oracle.com>
Reviewed-by: Martin Wilck <mwilck@suse.com>
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
[Ajay: Rewrote this patch for v4.4.y, as 4.4.y codebase is different from mainline]
Signed-off-by: Ajay Kaher <akaher@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
