Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1647441
| From | Eric Anholt <eric@anholt.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH -next] drm/pl111: Fix return value check in pl111_amba_probe() |
| Date | 2017-05-23 00:20 +0200 |
| Message-ID | <tK3Qd-30F-7@gated-at.bofh.it> (permalink) |
| References | <tJnxD-GN-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Wei Yongjun <weiyj.lk@gmail.com> writes:
> From: Wei Yongjun <weiyongjun1@huawei.com>
>
> 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().
>
> Fixes: bed41005e617 ("drm/pl111: Initial drm/kms driver for pl111")
> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed and applied. Thanks!
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH -next] drm/pl111: Fix return value check in pl111_amba_probe() Wei Yongjun <weiyj.lk@gmail.com> - 2017-05-21 03:10 +0200 Re: [PATCH -next] drm/pl111: Fix return value check in pl111_amba_probe() Eric Anholt <eric@anholt.net> - 2017-05-23 00:20 +0200
csiph-web