lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMo8Bf+D1kr8UtOQ+e86MtN9=mMO9KsJvY62qOXCyEBF_Jj-yA@mail.gmail.com>
Date:   Thu, 30 Mar 2017 02:05:28 -0700
From:   Max Filippov <jcmvbkbc@...il.com>
To:     Boris Brezillon <boris.brezillon@...e-electrons.com>
Cc:     Christoph Hellwig <hch@...radead.org>,
        Chris Zankel <chris@...kel.net>,
        "linux-xtensa@...ux-xtensa.org" <linux-xtensa@...ux-xtensa.org>,
        Maxime Ripard <maxime.ripard@...e-electrons.com>,
        Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>,
        LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] xtensa: Fix mmap() support

On Thu, Mar 30, 2017 at 1:30 AM, Boris Brezillon
<boris.brezillon@...e-electrons.com> 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ