Messages in this thread | | | From | raymond pang <> | Date | Thu, 28 Mar 2019 12:00:15 +0000 | Subject | Re: [PATCH] libata: fix using DMA buffers on stack |
| |
hi Jens,
Thanks for review. I'll fix them up.
Best regards, Raymond
On Tue, Mar 26, 2019 at 2:09 PM Jens Axboe <axboe@kernel.dk> wrote: > > On 3/25/19 9:07 PM, raymond pang wrote: > > When CONFIG_VMAP_STACK=y, __pa() returns incorrect physical address for > > a stack virtual address. Stack DMA buffers must be avoided. > > The patch looks fine, but it's white space mangled so it won't apply. > Additionally, you don't need to use kzfree, just use kfree. > > -- > Jens Axboe >
| |