linux-stable/drivers/net/ethernet/qlogic/qlcnic
Dinghao Liu 0a298d1338 net: qlcnic: add missed unlock in qlcnic_83xx_flash_read32
qlcnic_83xx_unlock_flash() is called on all paths after we call
qlcnic_83xx_lock_flash(), except for one error path on failure
of QLCRD32(), which may cause a deadlock. This bug is suggested
by a static analysis tool, please advise.

Fixes: 81d0aeb0a4 ("qlcnic: flash template based firmware reset recovery")
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Link: https://lore.kernel.org/r/20210816131405.24024-1-dinghao.liu@zju.edu.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-08-17 08:27:31 -07:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qlcnic_83xx_hw.c net: qlcnic: add missed unlock in qlcnic_83xx_flash_read32 2021-08-17 08:27:31 -07:00
qlcnic_83xx_hw.h net/qlcnic: Convert to SPDX license identifiers 2020-09-16 14:32:10 +02:00
qlcnic_83xx_init.c net: calxeda: Fix wrong function name in comments 2021-05-17 14:12:39 -07:00
qlcnic_83xx_vnic.c net: calxeda: Fix wrong function name in comments 2021-05-17 14:12:39 -07:00
qlcnic_ctx.c net/qlcnic: Convert to SPDX license identifiers 2020-09-16 14:32:10 +02:00
qlcnic_dcb.c net/qlcnic: Convert to SPDX license identifiers 2020-09-16 14:32:10 +02:00
qlcnic_dcb.h net/qlcnic: Convert to SPDX license identifiers 2020-09-16 14:32:10 +02:00
qlcnic_ethtool.c qlcnic: Add null check after calling netdev_alloc_skb 2021-05-13 17:33:28 +02:00
qlcnic_hdr.h net/qlcnic: Convert to SPDX license identifiers 2020-09-16 14:32:10 +02:00
qlcnic_hw.c ethernet/qlogic: Use list_for_each_entry() to simplify code in qlcnic_hw.c 2021-06-08 16:31:25 -07:00
qlcnic_hw.h qlcnic: Remove the repeated declaration 2021-06-01 15:25:46 -07:00
qlcnic_init.c net/qlcnic: Convert to SPDX license identifiers 2020-09-16 14:32:10 +02:00
qlcnic_io.c qlcnic: Fix fall-through warnings for Clang 2021-05-17 19:24:57 -05:00
qlcnic_main.c Networking changes for 5.14. 2021-06-30 15:51:09 -07:00
qlcnic_minidump.c net/qlcnic: Fix a use after free in qlcnic_83xx_get_minidump_template 2021-03-11 18:08:14 -08:00
qlcnic_sriov_common.c drivers: net: qlcnic: simplify the return expression of qlcnic_sriov_vf_shutdown() 2020-12-08 16:22:54 -08:00
qlcnic_sriov_pf.c net/qlcnic: Convert to SPDX license identifiers 2020-09-16 14:32:10 +02:00
qlcnic_sriov.h net/qlcnic: Convert to SPDX license identifiers 2020-09-16 14:32:10 +02:00
qlcnic_sysfs.c net/qlcnic: Convert to SPDX license identifiers 2020-09-16 14:32:10 +02:00
qlcnic.h net/qlcnic: Convert to SPDX license identifiers 2020-09-16 14:32:10 +02:00