[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160705.102136.1046702907087413810.davem@davemloft.net>
Date: Tue, 05 Jul 2016 10:21:36 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: weiyj_lk@....com
Cc: yisen.zhuang@...wei.com, salil.mehta@...wei.com,
yankejian@...wei.com, yongjun_wei@...ndmicro.com.cn,
netdev@...r.kernel.org
Subject: Re: [PATCH -next v2] net: hns: fix return value check in
hns_dsaf_get_cfg()
From: weiyj_lk@....com
Date: Tue, 5 Jul 2016 07:56:52 +0000
> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>
> In case of error, 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