[PATCH] drm/sun4i: hdmi: Use PTR_ERR_OR_ZERO() to simplify code
Maxime Ripard
maxime at cerno.tech
Tue Dec 15 08:50:20 UTC 2020
Hi,
On Tue, Dec 15, 2020 at 10:16:11AM +0800, Tian Tao wrote:
> Fixes coccicheck warning:
> drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c:281:1-3: WARNING: PTR_ERR_OR_ZERO
> can be used
>
> Signed-off-by: Tian Tao <tiantao6 at hisilicon.com>
That script shouldn't be there anymore, see:
https://lore.kernel.org/cocci/alpine.DEB.2.21.2001071106420.3004@hadrien/#t
Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20201215/5e24c508/attachment-0001.sig>
More information about the dri-devel
mailing list