Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1444689

Re: [PATCH -next] mtd: nand: omap2: fix return value check in omap_nand_probe()

From Brian Norris <computersforpeace@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH -next] mtd: nand: omap2: fix return value check in omap_nand_probe()
Date 2016-07-16 02:20 +0200
Message-ID <rVluN-5cw-1@gated-at.bofh.it> (permalink)
References <rUNCN-16b-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Jul 14, 2016 at 12:06:45PM +0000, weiyj_lk@163.com wrote:
> From: Wei Yongjun <yongjun_wei@trendmicro.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@trendmicro.com.cn>

Applied to l2-mtd.git

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH -next] mtd: nand: omap2: fix return value check in omap_nand_probe() weiyj_lk@163.com - 2016-07-14 14:10 +0200
  Re: [PATCH -next] mtd: nand: omap2: fix return value check in  omap_nand_probe() Brian Norris <computersforpeace@gmail.com> - 2016-07-14 18:10 +0200
    Re: [PATCH -next] mtd: nand: omap2: fix return value check in  omap_nand_probe() Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-07-15 09:50 +0200
  Re: [PATCH -next] mtd: nand: omap2: fix return value check in  omap_nand_probe() Brian Norris <computersforpeace@gmail.com> - 2016-07-16 02:20 +0200

csiph-web