From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 15 Oct 2015 13:52:27 +0200 From: Antoine Tenart To: Arnd Bergmann Cc: linux-arm-kernel@lists.infradead.org, kbuild test robot , Antoine Tenart , zmxu@marvell.com, jszhang@marvell.com, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, kbuild-all@01.org, ezequiel.garcia@free-electrons.com, computersforpeace@gmail.com, dwmw2@infradead.org, sebastian.hesselbarth@gmail.com Subject: Re: [PATCH v3 1/4] mtd: nand: allow compile test of MTD_NAND_PXA3xx Message-ID: <20151015115227.GA21506@kwain> References: <201510151736.7t9qDlAe%fengguang.wu@intel.com> <5425922.4Qu1HbLqzM@wuerfel> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5425922.4Qu1HbLqzM@wuerfel> List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Arnd, On Thu, Oct 15, 2015 at 01:44:19PM +0200, Arnd Bergmann wrote: > On Thursday 15 October 2015 17:12:18 kbuild test robot wrote: > > drivers/mtd/nand/pxa3xx_nand.c: In function 'drain_fifo': > > >> drivers/mtd/nand/pxa3xx_nand.c:507:4: error: implicit declaration of function 'readsl' [-Werror=implicit-function-declaration] > > readsl(info->mmio_base + NDDB, data, 8); > > ^ > > It should be easy to fix this by changing the code to use ioread32_rep() instead > of readsl(). They behave the same way on pointers returned from ioremap() etc, > and the other one is available on all architectures. Sure, I can add a patch fixing this prior to the one allowing to compile test the pxa3xx nand driver. Antoine -- Antoine Ténart, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com