Commit 52e8726d authored by Norbert van Bolhuis's avatar Norbert van Bolhuis Committed by Kalle Valo
Browse files

wifi: brcmfmac: fix scatter-gather handling by detecting end of sg list



The scatter-gather handling uses a pre-allocated list (with nents entries).
If the driver runs out of sg entries it will result in an oops. Let's detect
this instead and make the SDIO block transfer fail.

Signed-off-by: default avatarNorbert van Bolhuis <nvbolhuis@gmail.com>
Signed-off-by: default avatarKalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20241108125609.107016-1-nvbolhuis@gmail.com
parent b81e0211
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment