diff options
author | Pratyush Yadav <[email protected]> | 2022-04-20 15:50:22 +0530 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-04-21 14:17:56 +0100 |
commit | 8868c03f3ca584abec7bb53d6c3f7c5ab6b60949 (patch) | |
tree | 62f44dd0a9e96f8a87dc34171fa0d5097cea3aa5 /scripts/bpf_doc.py | |
parent | 8c235cc25087495c4288d94f547e9d3061004991 (diff) |
spi: spi-mem: check if data buffers are on stack
The buffers passed in the data phase must be DMA-able. Programmers often
don't realise this requirement and pass in buffers that reside on the
stack. This can be hard to spot when reviewing code. Reject ops if their
data buffer is on the stack to avoid this.
Signed-off-by: Pratyush Yadav <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions