[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <742c1607-1e28-3674-65ca-8e5f111e243e@kernel.dk>
Date: Tue, 26 Mar 2019 08:09:13 -0600
From: Jens Axboe <axboe@...nel.dk>
To: raymond pang <raymondpangxd@...il.com>
Cc: linux-kernel@...r.kernel.org, linux-ide@...r.kernel.org
Subject: Re: [PATCH] libata: fix using DMA buffers on stack
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
Powered by blists - more mailing lists