OrangePi_CM5/drivers/net/wireless/ath/ath10k
Yang Li 48b69f31de ath10k: Fix an error code in ath10k_add_interface()
[ Upstream commit e9ca70c735ce66fc6a0e02c8b6958434f74ef8de ]

When the code execute this if statement, the value of ret is 0.
However, we can see from the ath10k_warn() log that the value of
ret should be -EINVAL.

Clean up smatch warning:

drivers/net/wireless/ath/ath10k/mac.c:5596 ath10k_add_interface() warn:
missing error code 'ret'

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Fixes: ccec9038c7 ("ath10k: enable raw encap mode and software crypto engine")
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1621939577-62218-1-git-send-email-yang.lee@linux.alibaba.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:56:22 +02:00
..
Kconfig
…
Makefile
…
ahb.c
…
ahb.h
…
bmi.c
…
bmi.h
…
ce.c
…
ce.h
…
core.c
…
core.h
…
coredump.c
…
coredump.h
…
debug.c
…
debug.h
…
debugfs_sta.c
…
hif.h
…
htc.c ath10k: Fix a use after free in ath10k_htc_send_bundle 2021-05-14 09:50:42 +02:00
htc.h
…
htt.c
…
htt.h ath10k: add CCMP PN replay protection for fragmented frames for PCIe 2021-06-03 09:00:30 +02:00
htt_rx.c ath10k: Validate first subframe of A-MSDU before processing the list 2021-06-03 09:00:30 +02:00
htt_tx.c
…
hw.c
…
hw.h
…
mac.c ath10k: Fix an error code in ath10k_add_interface() 2021-07-14 16:56:22 +02:00
mac.h
…
p2p.c
…
p2p.h
…
pci.c ath10k: add missing error return code in ath10k_pci_probe() 2021-07-14 16:56:20 +02:00
pci.h
…
qmi.c
…
qmi.h
…
qmi_wlfw_v01.c
…
qmi_wlfw_v01.h
…
rx_desc.h ath10k: drop MPDU which has discard flag set by firmware for SDIO 2021-06-03 09:00:30 +02:00
sdio.c
…
sdio.h
…
snoc.c
…
snoc.h
…
spectral.c
…
spectral.h
…
swap.c
…
swap.h
…
targaddrs.h
…
testmode.c
…
testmode.h
…
testmode_i.h
…
thermal.c
…
thermal.h
…
trace.c
…
trace.h
…
txrx.c
…
txrx.h
…
usb.c
…
usb.h
…
wmi-ops.h
…
wmi-tlv.c ath10k: Fix ath10k_wmi_tlv_op_pull_peer_stats_info() unlock without lock 2021-05-14 09:50:42 +02:00
wmi-tlv.h
…
wmi.c
…
wmi.h
…
wow.c
…
wow.h
…