[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140913.164308.397287761632853991.davem@davemloft.net>
Date:	Sat, 13 Sep 2014 16:43:08 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	weiyj_lk@....com
Cc:	peppe.cavallaro@...com, yongjun_wei@...ndmicro.com.cn,
	netdev@...r.kernel.org
Subject: Re: [PATCH -next] net: stmmac: fix return value check in
 socfpga_dwmac_parse_data()
From: weiyj_lk@....com
Date: Fri, 12 Sep 2014 07:12:57 +0800
> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
> 
> In case of error, the function devm_ioremap_resource() returns
> ERR_PTR() and never returns NULL. The NULL test in the return
> value check should be replaced with IS_ERR().
> 
> Signed-off-by: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists
 
