Re: [PATCH] drm/sun4i: use PTR_ERR_OR_ZERO macro.

From: Maxime Ripard
Date: Tue Jan 07 2020 - 06:57:42 EST


Hi,

On Mon, Jan 06, 2020 at 05:00:52PM +0300, Wambui Karuga wrote:
> Replace the use of IS_ERR and PTR_ZERO macros by returning the
> PTR_ERR_OR_ZERO macro.
> Changes suggested by coccinelle.
>
> Signed-off-by: Wambui Karuga <wambui.karugax@xxxxxxxxx>

Unfortunately, that patch came up a number of time and shouldn't have
been a coccinelle script in the first place.

I've sent a patch to remove that script:
https://lore.kernel.org/lkml/20200107073629.325249-1-maxime@xxxxxxxxxx/

Maxime

Attachment: signature.asc
Description: PGP signature