aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/mvm/ops.c
diff options
context:
space:
mode:
authorPing-Ke Shih <[email protected]>2023-06-07 09:27:41 +0800
committerKalle Valo <[email protected]>2023-06-13 11:36:59 +0300
commit91ccdbb94feadb0d8bf3b35c841b33ac95f2f45f (patch)
tree8872735d7af40c44dabf5f00450fbd55e6f74fed /drivers/net/wireless/intel/iwlwifi/mvm/ops.c
parentcabb8b48e542e1401f6881c4f7d3bb82f723ee40 (diff)
wifi: rtw88: add missing unwind goto for __rtw_download_firmware()
This flaw is detected by smatch: drivers/net/wireless/realtek/rtw88/mac.c:748 __rtw_download_firmware() warn: missing unwind goto? Though most things of dlfw_fail have been done by download_firmware_end_flow() and wlan_cpu_enable(), an exception is that download_firmware_end_flow() clear BIT_MCUFWDL_EN bit conditionally. So, make this change to clear the bit. Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Closes: https://lore.kernel.org/r/[email protected]/ Cc: Sascha Hauer <[email protected]> Signed-off-by: Ping-Ke Shih <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/ops.c')
0 files changed, 0 insertions, 0 deletions