Files
linux/drivers/scsi/lpfc
William Dean f00e0d7714 scsi: lpfc: Check the return value of alloc_workqueue()
The function alloc_workqueue() in lpfc_sli4_driver_resource_setup() can
fail, but there is no check of its return value. The return value should be
checked.

Link: https://lore.kernel.org/r/[email protected]
Fixes: 3cee98db26 ("scsi: lpfc: Fix crash on driver unload in wq free")
Reported-by: Hacash Robot <[email protected]>
Reviewed-by: James Smart <[email protected]>
Signed-off-by: William Dean <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
2022-08-01 19:25:06 -04:00
..
…