diff options
author | raymond pang <raymondpangxd@gmail.com> | 2019-03-28 15:19:25 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-03-28 17:16:04 +0300 |
commit | dd08a8d9a66de4b54575c294a92630299f7e0fe7 (patch) | |
tree | 502637a64f680e7d726b554e131646f7edb497ed /lib | |
parent | 9bf7933fc3f306bc4ce74ad734f690a71670178a (diff) | |
download | linux-dd08a8d9a66de4b54575c294a92630299f7e0fe7.tar.xz |
libata: fix using DMA buffers on stack
When CONFIG_VMAP_STACK=y, __pa() returns incorrect physical address for
a stack virtual address. Stack DMA buffers must be avoided.
Signed-off-by: raymond pang <raymondpangxd@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions