lkml.org 
[lkml]   [2014]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/2] mtd/onenand: fix build warning for dma type
    On Thu, May 08, 2014 at 04:56:14PM +0200, Arnd Bergmann wrote:
    > The samsung onenand driver passes around a dma address token
    > through a void pointer, which is incorrect and leads to
    > warnings like this one:
    >
    > onenand/samsung.c:548:2: warning: passing argument 1 of '__fswab32' makes integer from pointer without a cast [enabled by default]
    > writel(src, base + S5PC110_DMA_SRC_ADDR);
    > ^
    >
    > This patch makes it use dma_addr_t here, which is more appropriate.
    >
    > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    > Cc: Kyungmin Park <kyungmin.park@samsung.com>
    > Cc: David Woodhouse <dwmw2@infradead.org>
    > Cc: Brian Norris <computersforpeace@gmail.com>
    > Cc: linux-mtd@lists.infradead.org

    Pushed this one to l2-mtd.git. Thanks!

    I think the second MTD patch is still under discussion, right? I'll
    follow up there if necessary.

    Brian


    \
     
     \ /
      Last update: 2014-05-13 02:41    [W:2.090 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site