[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160716001442.GB76613@google.com>
Date: Fri, 15 Jul 2016 17:14:42 -0700
From: Brian Norris <computersforpeace@...il.com>
To: weiyj_lk@....com
Cc: Boris Brezillon <boris.brezillon@...e-electrons.com>,
Richard Weinberger <richard@....at>,
David Woodhouse <dwmw2@...radead.org>,
"Cooper Jr., Franklin" <fcooper@...com>,
Wei Yongjun <yongjun_wei@...ndmicro.com.cn>,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] mtd: nand: omap2: fix return value check in
omap_nand_probe()
On Thu, Jul 14, 2016 at 12:06:45PM +0000, weiyj_lk@....com wrote:
> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>
> In case of error, the function dma_request_chan() returns ERR_PTR() and
> never returns NULL. The NULL test in the return value check should be
> replaced with IS_ERR().
>
> Fixes: aa7abd312c11 ('mtd: nand: omap2: Support parsing dma channel
> information from DT')
> Signed-off-by: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
Applied to l2-mtd.git
Powered by blists - more mailing lists