Re: [PATCH] drivers/video/fbdev:modify 0 to NULL

From: Gustavo A. R. Silva
Date: Wed Mar 17 2021 - 23:18:45 EST




On 3/17/21 21:47, Chunyou Tang wrote:

> I think "if (info == NULL)" is more intuitive,and there have many
> compare likes "if (info == NULL)" in this file.

In that case, all those instances should be changed to if (!foo), instead.

--
Gustavo