Re: [PATCH 1/9] staging: most: NULL comparison style

From: Fabio Estevam
Date: Tue Aug 18 2015 - 12:31:10 EST


On Tue, Aug 18, 2015 at 12:18 PM, Sudip Mukherjee
<sudipm.mukherjee@xxxxxxxxx> wrote:
> According to the kernel coding style the NULL check should not be
> written as [variable] == NULL or [variable] != NULL.

It seems this not documented in Documentation/CodingStyle .
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/