lkml.org 
[lkml]   [2015]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 2/6] nfit: Fix up address spaces, sparse warnings
    From
    On Thu, May 28, 2015 at 3:35 PM, Ross Zwisler
    <ross.zwisler@linux.intel.com> wrote:
    > Fix a couple of sparse warnings (duplicate const, incorrect address
    > space), and go back to using memcpy() instead of memcpy_toio() and
    > memcpy_fromio() when talking to our block apertures. Instead, include a
    > union to alias mmio->base and mmio->aperture so that we can continue to
    > reuse common code for ioremapping and deinterleaving. mmio->base still
    > has the __iomem annotation and is used via readq() and writeq() for the
    > control and status registers. mmio->aperture is used via normal
    > memcpy() for aperture I/O.
    >
    > Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
    > Cc: Dan Williams <dan.j.williams@intel.com>
    > Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
    > Cc: linux-nvdimm@lists.01.org
    > Cc: linux-acpi@vger.kernel.org

    Folded into libnd-for-next.

    Thanks Ross!


    \
     
     \ /
      Last update: 2015-05-29 01:21    [W:4.554 / U:1.656 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site