linux/drivers/net/wireless/ath/ath11k
Dan Carpenter 7195c8747e ath11k: fix up some error paths
There are two error paths where "ret" wasn't set.  Also one error path
we set the error code to -EINVAL but we should just preserve the error
code from ath11k_hal_srng_get_entrysize().  That function only returns
-EINVAL so this doesn't change anything.

I removed the "ret = 0;" initializers so that hopefully GCC will be able
to detect these sorts of bugs in the future.

Fixes: d5c65159f2 ("ath11k: driver for Qualcomm IEEE 802.11ax devices")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2020-01-26 12:51:00 +02:00
..
ahb.c ath11k: qmi clean up ce and HTC service config update 2019-11-29 09:46:55 +02:00
ahb.h
ce.c ath11k: checking for NULL vs IS_ERR() 2019-12-18 19:55:32 +02:00
ce.h ath11k: qmi clean up in ath11k_qmi_wlanfw_wlan_cfg_send() 2019-11-29 09:47:05 +02:00
core.c ath11k: rename ath11k_wmi_base instances from wmi_sc to wmi_ab 2019-12-18 19:27:45 +02:00
core.h ath11k: rename ath11k_wmi_base instances from wmi_sc to wmi_ab 2019-12-18 19:27:45 +02:00
debug_htt_stats.c ath11k: Add missing pdev rx rate stats 2020-01-26 12:47:08 +02:00
debug_htt_stats.h ath11k: Add missing pdev rx rate stats 2020-01-26 12:47:08 +02:00
debug.c ath11k: enable HE tlvs in ppdu stats for pktlog lite 2020-01-26 12:38:07 +02:00
debug.h ath11k: fix debugfs build failure 2020-01-26 12:37:06 +02:00
debugfs_sta.c ath11k: move some tx_status parsing to debugfs code 2019-12-18 19:39:47 +02:00
dp_rx.c ath11k: make sure to also report the RX bandwidth inside radiotap 2020-01-26 12:49:40 +02:00
dp_rx.h ath11k: Setup REO destination ring before sending wmi_init command 2019-11-29 09:50:48 +02:00
dp_tx.c ath11k: fix up some error paths 2020-01-26 12:51:00 +02:00
dp_tx.h
dp.c ath11k: optimise ath11k_dp_tx_completion_handler 2019-12-18 19:39:59 +02:00
dp.h ath11k: enable HE tlvs in ppdu stats for pktlog lite 2020-01-26 12:38:07 +02:00
hal_desc.h ath11k: update tcl cmd descriptor parameters for STA mode 2019-11-29 09:35:15 +02:00
hal_rx.c ath11k: fix vht guard interval mapping 2019-11-29 09:50:06 +02:00
hal_rx.h ath11k: fix vht guard interval mapping 2019-11-29 09:50:06 +02:00
hal_tx.c ath11k: optimize ath11k_hal_tx_status_parse 2019-12-18 19:40:10 +02:00
hal_tx.h ath11k: optimize ath11k_hal_tx_status_parse 2019-12-18 19:40:10 +02:00
hal.c
hal.h
htc.c ath11k: rename ath11k_wmi_base instances from wmi_sc to wmi_ab 2019-12-18 19:27:45 +02:00
htc.h
hw.h
Kconfig ath11k: fix debugfs build failure 2020-01-26 12:37:06 +02:00
mac.c ath11k: avoid null pointer dereference when pointer band is null 2020-01-26 12:48:09 +02:00
mac.h ath11k: Move mac80211 hw allocation before wmi_init command 2019-11-29 09:50:38 +02:00
Makefile ath11k: fix debugfs build failure 2020-01-26 12:37:06 +02:00
peer.c
peer.h
qmi.c ath11k: qmi clean up in ath11k_qmi_wlanfw_wlan_cfg_send() 2019-11-29 09:47:05 +02:00
qmi.h ath11k: qmi clean up ce and HTC service config update 2019-11-29 09:46:55 +02:00
reg.c ath11k: add HE support 2019-11-27 17:46:29 +02:00
reg.h
rx_desc.h
testmode_i.h
testmode.c ath11k: rename ath11k_wmi_base instances from wmi_sc to wmi_ab 2019-12-18 19:27:45 +02:00
testmode.h
trace.c
trace.h ath11k: tracing: fix ath11k tracing 2019-11-29 09:46:44 +02:00
wmi.c ath11k: explicitly cast wmi commands to their correct struct type 2019-12-19 18:17:41 +02:00
wmi.h ath11k: Use sizeof_field() instead of FIELD_SIZEOF() 2019-12-19 18:18:30 +02:00