kernel_optimize_test/drivers/net/wireless
Arnd Bergmann 67d88b7bf6 mwifiex: re-fix for unaligned accesses
[ Upstream commit 8f4e3d48bb50765ab27ae5bebed2595b20de80a1 ]

A patch from 2017 changed some accesses to DMA memory to use
get_unaligned_le32() and similar interfaces, to avoid problems
with doing unaligned accesson uncached memory.

However, the change in the mwifiex_pcie_alloc_sleep_cookie_buf()
function ended up changing the size of the access instead,
as it operates on a pointer to u8.

Change this function back to actually access the entire 32 bits.
Note that the pointer is aligned by definition because it came
from dma_alloc_coherent().

Fixes: 92c70a958b ("mwifiex: fix for unaligned reads")
Acked-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:56:34 +02:00
..
admtek
ath ath11k: send beacon template after vdev_start/restart during csa 2021-07-14 16:56:22 +02:00
atmel
broadcom brcmsmac: mac80211_if: Fix a resource leak in an error handling path 2021-07-14 16:56:21 +02:00
cisco
intel iwlwifi: increase PNVM load timeout 2021-07-14 16:56:25 +02:00
intersil
marvell mwifiex: re-fix for unaligned accesses 2021-07-14 16:56:34 +02:00
mediatek mt76: mt7615: fix NULL pointer dereference in tx_prepare_skb() 2021-07-14 16:56:24 +02:00
microchip
quantenna
ralink
realtek rtw88: 8822c: fix lc calibration timing 2021-07-14 16:56:25 +02:00
rsi rsi: fix AP mode with WPA failure due to encrypted EAPOL 2021-07-14 16:55:46 +02:00
st cw1200: Revert unnecessary patches that fix unreal use-after-free bugs 2021-07-14 16:56:21 +02:00
ti
zydas
Kconfig
mac80211_hwsim.c
mac80211_hwsim.h
Makefile
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c
virt_wifi.c
wl3501_cs.c
wl3501.h