diff options
author | William Dean <williamsukatube@gmail.com> | 2022-07-23 09:40:27 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-08-02 02:25:06 +0300 |
commit | f00e0d7714895d10790e2bac4df00727ddb9abff (patch) | |
tree | 3d91a5e954a1a8345ccd06d17addb3527e09c63a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8fcdc238ce1b492e1f57a73a2ce4131d63f45397 (diff) | |
download | linux-f00e0d7714895d10790e2bac4df00727ddb9abff.tar.xz |
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/20220723064027.2956623-1-williamsukatube@163.com
Fixes: 3cee98db2610 ("scsi: lpfc: Fix crash on driver unload in wq free")
Reported-by: Hacash Robot <hacashRobot@santino.com>
Reviewed-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: William Dean <williamsukatube@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions