Re: [PATCH] xtensa: Fix mmap() support

From: Max Filippov
Date: Thu Mar 30 2017 - 05:07:54 EST


On Thu, Mar 30, 2017 at 1:30 AM, Boris Brezillon
<boris.brezillon@xxxxxxxxxxxxxxxxxx> wrote:
>> Could you please instead check if the dma_common_mmap works for you
>> with the attached patch?
>
> I will. BTW, shouldn't it be
>
> if (off >= XCHAL_KSEG_SIZE)
>
> instead of
>
> if (off > XCHAL_KSEG_SIZE)
> ?

Oops. Yes, you're right.

--
Thanks.
-- Max