[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141213190705.0faaf119@lxorguk.ukuu.org.uk>
Date: Sat, 13 Dec 2014 19:07:05 +0000
From: One Thousand Gnomes <gnomes@...rguk.ukuu.org.uk>
To: Loic Pefferkorn <loic@...cp.eu>
Cc: gregkh@...uxfoundation.org, alan@...ux.intel.com,
jun.j.tian@...el.com, octavian.purdila@...el.com, nnk@...gle.com,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: goldfish: Fix minor coding style
On Sat, 13 Dec 2014 17:29:26 +0100
Loic Pefferkorn <loic@...cp.eu> wrote:
> Hello,
>
> The convention for checking for NULL pointers is !ptr and not ptr == NULL.
> This patch fixes such occurences in goldfish driver, it applies against next-20141212
>
>
> Signed-off-by: Loic Pefferkorn <loic@...cp.eu>
Pointless churn. It makes it less readable if anything, and it removes
the type safety as you are now checking against 0 not (void *)0
NAK
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists