alistair23-linux/drivers/net/wireless/microchip/wilc1000
Vsevolod Kozlov 6fe91b69ce wilc1000: Fix use of void pointer as a wrong struct type
ac_classify() expects a struct sk_buff* as its second argument, which is
a member of struct tx_complete_data. priv happens to be a pointer to
struct tx_complete_data, so passing it directly to ac_classify() leads
to wrong behaviour and occasional panics.

Since there is only one caller of wilc_wlan_txq_add_net_pkt and it
already knows the type behind this pointer, and the structure is already
in the header file, change the function signature to use the real type
instead of void* in order to prevent confusion.

Signed-off-by: Vsevolod Kozlov <zaba@mm.st>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/YCQomJ1mO5BLxYOT@Vsevolods-Mini.lan
2021-02-11 08:45:48 +02:00
..
cfg80211.c cfg80211: change netdev registration/unregistration semantics 2021-01-22 16:28:39 +01:00
cfg80211.h
fw.h wilc1000: use flexible-array member instead of zero-length array 2021-01-14 19:33:02 +02:00
hif.c wilc1000: added 'ndo_set_mac_address' callback support 2020-12-02 21:38:07 +02:00
hif.h wilc1000: added 'ndo_set_mac_address' callback support 2020-12-02 21:38:07 +02:00
Kconfig wilc1000: fix spelling mistake in Kconfig "devision" -> "division" 2021-01-14 19:28:46 +02:00
Makefile wilc1000: use API version number info along with firmware filename 2020-07-14 20:52:27 +03:00
mon.c cfg80211: change netdev registration/unregistration semantics 2021-01-22 16:28:39 +01:00
netdev.c wilc1000: Fix use of void pointer as a wrong struct type 2021-02-11 08:45:48 +02:00
netdev.h wilc1000: added queue support for WMM 2020-12-02 21:38:12 +02:00
sdio.c wilc1000: Fix memleak in wilc_sdio_probe 2020-08-27 13:01:31 +03:00
spi.c wilc1000: changes for SPI communication stall issue found with Iperf 2020-12-10 20:48:13 +02:00
wlan.c wilc1000: Fix use of void pointer as a wrong struct type 2021-02-11 08:45:48 +02:00
wlan.h wilc1000: Fix use of void pointer as a wrong struct type 2021-02-11 08:45:48 +02:00
wlan_cfg.c
wlan_cfg.h
wlan_if.h