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

Gustavo A. R. Silva gustavo at embeddedor.com
Thu Mar 18 01:54:41 UTC 2021



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


More information about the dri-devel mailing list