[PATCH] wifi: ath10k: prefer stack-allocated __le32 variables

Johannes Berg johannes at sipsolutions.net
Fri Oct 27 02:53:26 PDT 2023


On Fri, 2023-10-27 at 12:50 +0300, Dmitry Antipov wrote:


> Locals can't be used for scatterlists/DMA/etc., right?

Well, a scatterlist by itself doesn't imply anything necessarily, it's
just a data structure.

But yes, you cannot do DMA from the stack, which seems to happen in this
case, or at least can happen.

johannes



More information about the ath10k mailing list