1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/ath/ath11k
Alex Dewar 8431350eee ath11k: Fix memory leak on error path
In ath11k_mac_setup_iface_combinations(), if memory cannot be assigned
for the variable limits, then the memory assigned to combinations will
be leaked. Fix this.

Addresses-Coverity-ID: 1497534 ("Resource leaks")
Fixes: 2626c26970 ("ath11k: add interface_modes to hw_params")
Signed-off-by: Alex Dewar <alex.dewar90@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201004100218.311653-2-alex.dewar90@gmail.com
2020-10-08 13:45:55 +03:00
..
ahb.c ath11k: Add checked value for ath11k_ahb_remove 2020-09-22 10:41:00 +03:00
ahb.h ath11k: Remove rproc references from common core layer 2020-09-21 16:11:28 +03:00
ce.c ath11k: start a timer to update HP for CE pipe 4 2020-10-01 22:33:15 +03:00
ce.h ath11k: start a timer to update HP for CE pipe 4 2020-10-01 22:33:15 +03:00
core.c ath11k: enable idle power save mode 2020-10-01 22:33:17 +03:00
core.h ath11k: add packet log support for QCA6390 2020-10-01 22:32:04 +03:00
dbring.c ath11k: hal: create hw_srng_config dynamically 2020-08-17 13:18:38 +03:00
dbring.h ath11k: Add direct buffer ring support 2020-06-15 17:21:52 +03:00
debug.c ath11k: refactor debugfs code into debugfs.c 2020-09-22 10:41:41 +03:00
debug.h ath11k: refactor debugfs code into debugfs.c 2020-09-22 10:41:41 +03:00
debugfs.c ath11k: debugfs: fix crash during rmmod 2020-10-01 22:32:15 +03:00
debugfs.h ath11k: fix undefined reference to 'ath11k_debugfs_htt_ext_stats_handler' 2020-09-25 19:09:48 +03:00
debugfs_htt_stats.c ath11k: debugfs: move some function declarations to correct header files 2020-09-22 10:41:49 +03:00
debugfs_htt_stats.h ath11k: fix undefined reference to 'ath11k_debugfs_htt_ext_stats_handler' 2020-09-25 19:09:48 +03:00
debugfs_sta.c ath11k: debugfs: move some function declarations to correct header files 2020-09-22 10:41:49 +03:00
debugfs_sta.h ath11k: debugfs: move some function declarations to correct header files 2020-09-22 10:41:49 +03:00
dp.c ath11k: start a timer to update REO cmd ring 2020-10-01 22:33:12 +03:00
dp.h ath11k: start a timer to update REO cmd ring 2020-10-01 22:33:12 +03:00
dp_rx.c ath11k: add packet log support for QCA6390 2020-10-01 22:32:04 +03:00
dp_rx.h ath11k: Use GFP_ATOMIC instead of GFP_KERNEL in idr_alloc 2020-10-01 22:31:11 +03:00
dp_tx.c ath11k: start a timer to update TCL HP 2020-10-01 22:33:09 +03:00
dp_tx.h
hal.c ath11k: remove unnecessary casts to u32 2020-10-01 22:33:20 +03:00
hal.h ath11k: start a timer to update TCL HP 2020-10-01 22:33:09 +03:00
hal_desc.h ath11k: Remove bus layer includes from upper layer 2020-05-11 15:35:06 +03:00
hal_rx.c ath11k: start a timer to update REO cmd ring 2020-10-01 22:33:12 +03:00
hal_rx.h ath11k: add packet log support for QCA6390 2020-10-01 22:32:04 +03:00
hal_tx.c ath11k: hal: create hw_srng_config dynamically 2020-08-17 13:18:38 +03:00
hal_tx.h ath11k: Remove bus layer includes from upper layer 2020-05-11 15:35:06 +03:00
hif.h ath11k: configure copy engine msi address in CE srng 2020-08-17 13:18:21 +03:00
htc.c ath11k: set WMI pipe credit to 1 for QCA6390 2020-10-01 22:33:07 +03:00
htc.h
hw.c ath11k: remove redundant num_keep_alive_pattern assignment 2020-09-22 10:44:35 +03:00
hw.h ath11k: enable idle power save mode 2020-10-01 22:33:17 +03:00
Kconfig ath11k: use remoteproc only with AHB devices 2020-08-17 13:07:17 +03:00
mac.c ath11k: Fix memory leak on error path 2020-10-08 13:45:55 +03:00
mac.h ath11k: Perform per-msdu rx processing 2020-03-18 13:53:49 +02:00
Makefile ath11k: rename debug_htt_stats.[c|h] to debugfs_htt_stats.[c|h] 2020-09-22 10:41:46 +03:00
mhi.c ath11k: return -ENOMEM on allocation failure 2020-08-27 13:19:46 +03:00
mhi.h ath11k: reset MHI during power down and power up 2020-08-18 12:47:10 +03:00
pci.c ath11k: enable shadow register configuration and access 2020-10-01 22:33:04 +03:00
pci.h ath11k: read and write registers below unwindowed address 2020-10-01 22:33:01 +03:00
peer.c ath11k: remove useless info messages 2020-06-23 10:51:56 +03:00
peer.h ath11k: fix duplication peer create on same radio 2020-04-14 11:07:48 +03:00
qmi.c ath11k: enable shadow register configuration and access 2020-10-01 22:33:04 +03:00
qmi.h ath11k: enable shadow register configuration and access 2020-10-01 22:33:04 +03:00
reg.c ath11k: change to disable softirqs for ath11k_regd_update to solve deadlock 2020-10-01 22:31:06 +03:00
reg.h
rx_desc.h ath11k: handle RX fragments 2020-03-17 08:35:30 +02:00
spectral.c ath11k: Add support spectral scan for IPQ6018 2020-09-22 10:42:36 +03:00
spectral.h ath11k: add support for spectral scan 2020-06-15 17:21:54 +03:00
testmode.c ath11k: rename ath11k_wmi_base instances from wmi_sc to wmi_ab 2019-12-18 19:27:45 +02:00
testmode.h
testmode_i.h
thermal.c net: ath11k: constify ath11k_thermal_ops 2020-08-26 16:21:17 -07:00
thermal.h ath11k: fix compiler warnings without CONFIG_THERMAL 2020-04-06 17:21:23 +03:00
trace.c
trace.h ath11k: add pktlog checksum in trace events to support pktlog 2020-04-06 19:15:50 +03:00
wmi.c ath11k: Move non-fatal warn logs to dbg level 2020-09-29 11:31:34 +03:00
wmi.h ath11k: add support for spectral scan 2020-06-15 17:21:54 +03:00