From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 12 May 2014 16:26:53 -0700 From: Brian Norris To: Arnd Bergmann Subject: Re: [PATCH 1/2] mtd/onenand: fix build warning for dma type Message-ID: <20140512232653.GV28907@ld-irv-0074> References: <1399560433-1402630-1-git-send-email-arnd@arndb.de> <1399560990-1402858-1-git-send-email-arnd@arndb.de> <1399560990-1402858-3-git-send-email-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1399560990-1402858-3-git-send-email-arnd@arndb.de> Cc: linux-mtd@lists.infradead.org, Kyungmin Park , David Woodhouse , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 > Cc: Kyungmin Park > Cc: David Woodhouse > Cc: Brian Norris > 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