Skip to content
Commit dd08a8d9 authored by raymond pang's avatar raymond pang Committed by Jens Axboe
Browse files

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: default avatarraymond pang <raymondpangxd@gmail.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 9bf7933f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment