diff options
author | Oliver Neukum <oneukum@suse.com> | 2022-05-18 09:10:45 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-06-20 10:30:34 +0100 |
commit | ca9dc8d06ab64543a6a31adac5003349c5671218 (patch) | |
tree | eda16b07d1e894e202b2295d8b16496dace39c7d /drivers/mux/mmio.c | |
parent | 6a0d6733098965b8b58e8008e0fe1333d4f24953 (diff) |
media: airspy: respect the DMA coherency rules
If we want to avoid memory corruption
on incoherent architectures, buffers for DMA
must not reside
- on the stack
- embedded within other structures
Allocate them separately.
v2: fix uninitialized return value
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/mux/mmio.c')
0 files changed, 0 insertions, 0 deletions