Re: [PATCH] libata: fix using DMA buffers on stack
From: raymond pang
Date: Thu Mar 28 2019 - 08:01:00 EST
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@xxxxxxxxx> 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
>