[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160711.195219.1516092377245302826.davem@davemloft.net>
Date: Mon, 11 Jul 2016 19:52:19 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: weiyj_lk@....com
Cc: arnd@...db.de, f.fainelli@...il.com, jon.mason@...adcom.com,
yongjun_wei@...ndmicro.com.cn, netdev@...r.kernel.org
Subject: Re: [PATCH -next] net: ethernet: bgmac: Fix return value check in
bgmac_probe()
From: weiyj_lk@....com
Date: Tue, 12 Jul 2016 00:17:28 +0000
> 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, thanks.
Powered by blists - more mailing lists