OpenCloudOS-Kernel/drivers/net/wireless/quantenna/qtnfmac
Sergey Matyukevich 946d077a42 qtnfmac: fix potential Spectre vulnerabilities
Fix potential Spectre vulnerabilities and other warnings
reported by smatch:

drivers/net/wireless/quantenna/qtnfmac/core.c:49 qtnf_core_get_mac() warn: potential spectre issue 'bus->mac' [r] (local cap)
drivers/net/wireless/quantenna/qtnfmac/core.c:51 qtnf_core_get_mac() warn: possible spectre second half.  'mac'
drivers/net/wireless/quantenna/qtnfmac/event.c:671 qtnf_event_parse() warn: potential spectre issue 'mac->iflist' [r] (local cap)
drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c:912 qtnf_pcie_skb_send() warn: variable dereferenced before check 'skb' (see line 881)

Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2020-02-12 18:16:49 +02:00
..
pcie qtnfmac: fix potential Spectre vulnerabilities 2020-02-12 18:16:49 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile qtnfmac: add support for Topaz chipsets 2018-11-06 18:53:50 +02:00
bus.h qtnfmac: advertise netdev port parent ID 2019-11-20 09:42:58 +02:00
cfg80211.c qtnfmac: pass max scan SSIDs limit on per-radio basis 2020-02-12 18:16:45 +02:00
cfg80211.h qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
commands.c qtnfmac: drop unnecessary TLVs from scan command 2020-02-12 18:16:48 +02:00
commands.h qtnfmac: implement extendable channel survey dump 2020-02-12 18:16:44 +02:00
core.c qtnfmac: fix potential Spectre vulnerabilities 2020-02-12 18:16:49 +02:00
core.h qtnfmac: pass max scan SSIDs limit on per-radio basis 2020-02-12 18:16:45 +02:00
debug.c qtnfmac: modify debugfs to support multiple cards 2019-04-26 14:53:13 +03:00
debug.h qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
event.c qtnfmac: fix potential Spectre vulnerabilities 2020-02-12 18:16:49 +02:00
event.h qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
qlink.h qtnfmac: drop unnecessary TLVs from scan command 2020-02-12 18:16:48 +02:00
qlink_util.c qtnfmac: allow each MAC to specify its own regulatory rules 2019-04-04 12:57:28 +03:00
qlink_util.h qtnfmac: drop unnecessary TLVs from scan command 2020-02-12 18:16:48 +02:00
qtn_hw_ids.h qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
shm_ipc.c qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
shm_ipc.h qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
shm_ipc_defs.h qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
switchdev.h qtnfmac: signal that all packets coming from device are already flooded 2019-11-20 09:42:59 +02:00
trans.c qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
trans.h qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
util.c qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
util.h qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00