[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180718094758.785ea21f@xps13>
Date: Wed, 18 Jul 2018 09:47:58 +0200
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Boris Brezillon <boris.brezillon@...tlin.com>
Cc: Arnd Bergmann <arnd@...db.de>,
David Woodhouse <dwmw2@...radead.org>,
Brian Norris <computersforpeace@...il.com>,
Marek Vasut <marek.vasut@...il.com>,
Richard Weinberger <richard@....at>,
Abhishek Sahu <absahu@...eaurora.org>,
Archit Taneja <architt@...eaurora.org>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] nand: ranw: qcom_nand: stop using phys_to_dma()
Hi Boris,
Boris Brezillon <boris.brezillon@...tlin.com> wrote on Tue, 17 Jul 2018
22:33:59 +0200:
> On Tue, 17 Jul 2018 22:27:42 +0200
> Arnd Bergmann <arnd@...db.de> wrote:
>
> > Compile-testing this driver on x86 caused a link error:
> >
> > ERROR: "__phys_to_dma" [drivers/mtd/nand/raw/qcom_nandc.ko] undefined!
> >
> > The problem here is that the driver attempts to convert the physical
> > address into the DMA controller as a dma_addr_t and calls phys_to_dma()
> > to do the conversion.
> >
> > The correct way to do the conversion is using the dma mapping interfaces.
> >
> > Fixes: c76b78d8ec05 ("mtd: nand: Qualcomm NAND controller driver")
> > Signed-off-by: Arnd Bergmann <arnd@...db.de>
>
> Reviewed-by: Boris Brezillon <boris.brezillon@...tlin.com>
>
> Miquel, can you fix the subject prefix when applying?
Applied to nand/next with the subject prefix being:
"mtd: rawnand: qcom:"
Thanks
Miquèl
Powered by blists - more mailing lists