linux_dsm_epyc7002/drivers/net/wireless/quantenna/qtnfmac
Sergey Matyukevich 1066bd193d qtnfmac: fix error handling in control path
This patch fixes the following warnings:

- smatch
drivers/net/wireless/quantenna/qtnfmac/commands.c:132 qtnf_cmd_send_with_reply() warn: variable dereferenced before check 'resp' (see line 117)
drivers/net/wireless/quantenna/qtnfmac/commands.c:716  qtnf_cmd_get_sta_info() error: uninitialized symbol 'var_resp_len'.
drivers/net/wireless/quantenna/qtnfmac/commands.c:1668 qtnf_cmd_get_mac_info() error: uninitialized symbol 'var_data_len'.
drivers/net/wireless/quantenna/qtnfmac/commands.c:1697 qtnf_cmd_get_hw_info() error: uninitialized symbol 'info_len'.
drivers/net/wireless/quantenna/qtnfmac/commands.c:1753 qtnf_cmd_band_info_get() error: uninitialized symbol 'info_len'.
drivers/net/wireless/quantenna/qtnfmac/commands.c:1782 qtnf_cmd_send_get_phy_params() error: uninitialized symbol 'response_size'.
drivers/net/wireless/quantenna/qtnfmac/commands.c:2438 qtnf_cmd_get_chan_stats() error: uninitialized symbol 'var_data_len'.

- gcc-8.2.1
drivers/net/wireless/quantenna/qtnfmac/commands.c: In function 'qtnf_cmd_send_with_reply':
drivers/net/wireless/quantenna/qtnfmac/commands.c:133:54: error: 'resp' may be used uninitialized in this function [-Werror=maybe-uninitialized]

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-11-06 18:57:37 +02:00
..
pcie qtnfmac: add support for Topaz chipsets 2018-11-06 18:53:50 +02:00
bus.h qtnfmac: wait for FW load work to finish at PCIe remove 2018-10-01 18:40:30 +03:00
cfg80211.c qtnfmac: implement dump_station support for STA mode 2018-10-05 14:01:44 +03:00
cfg80211.h qtnfmac: do not use mutexes in timer context 2018-01-24 18:00:54 +02:00
commands.c qtnfmac: fix error handling in control path 2018-11-06 18:57:37 +02:00
commands.h qtnfmac: implement basic WoWLAN support 2018-08-02 21:55:49 +03:00
core.c qtnfmac: inform wireless core about supported extended capabilities 2018-10-05 14:01:24 +03:00
core.h qtnfmac: inform wireless core about supported extended capabilities 2018-10-05 14:01:24 +03:00
debug.c
debug.h
event.c qtnfmac: do not track STA states in driver 2018-10-05 14:01:14 +03:00
event.h
Kconfig qtnfmac: add support for Topaz chipsets 2018-11-06 18:53:50 +02:00
Makefile qtnfmac: add support for Topaz chipsets 2018-11-06 18:53:50 +02:00
qlink_util.c qtnfmac: support MAC address based access control 2018-01-09 14:11:23 +02:00
qlink_util.h qtnfmac: add support for scan flush 2018-10-05 14:01:33 +03:00
qlink.h qtnfmac: add support for scan dwell time configuration 2018-10-05 14:01:37 +03:00
qtn_hw_ids.h qtnfmac: add support for Topaz chipsets 2018-11-06 18:53:50 +02:00
shm_ipc_defs.h
shm_ipc.c qtnfmac: drop redundant data copy in control path 2018-10-05 14:01:41 +03:00
shm_ipc.h qtnfmac: drop redundant data copy in control path 2018-10-05 14:01:41 +03:00
trans.c qtnfmac: fix firmware command error path 2018-05-30 22:20:06 +03:00
trans.h
util.c qtnfmac: add support for Topaz chipsets 2018-11-06 18:53:50 +02:00
util.h qtnfmac_pcie: use single PCIe driver for all platforms 2018-11-06 18:53:49 +02:00