[PATCH] usb: gadget: xudc: fix return value check in xudc_probe()
Felipe Balbi
balbi at ti.com
Mon Apr 27 12:46:03 PDT 2015
Hi,
On Thu, Apr 16, 2015 at 08:17:30PM +0800, weiyj_lk at 163.com wrote:
> From: Wei Yongjun <yongjun_wei at trendmicro.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 at trendmicro.com.cn>
doesn't apply to v4.1-rc1, if it's still needed, please rebase.
--
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150427/d4a38313/attachment.sig>
More information about the linux-arm-kernel
mailing list