[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5202c72d-4246-1a4e-37fa-7caf2d9c1ce3@embeddedor.com>
Date: Wed, 17 Mar 2021 20:54:41 -0500
From: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
To: Chunyou Tang <tangchunyou@....com>
Cc: gustavoars@...nel.org, sam@...nborg.org,
dri-devel@...ts.freedesktop.org, linux-fbdev@...r.kernel.org,
linux-kernel@...r.kernel.org, tangchunyou@...ong.com
Subject: Re: [PATCH] drivers/video/fbdev:modify 0 to NULL
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
Powered by blists - more mailing lists