diff options
author | Norbert van Bolhuis <nvbolhuis@gmail.com> | 2024-11-08 13:52:30 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2024-12-09 17:58:19 +0200 |
commit | 52e8726d6782a14c7f9e0fea5a5bc8e6a1992fd4 (patch) | |
tree | 977c63b49311a1c95b227bc29cf373513e396865 /tools/perf/scripts/python/stackcollapse.py | |
parent | b81e0211e9c70be9eb70924e4e29698bfbbbc03a (diff) |
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: Norbert van Bolhuis <nvbolhuis@gmail.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20241108125609.107016-1-nvbolhuis@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions