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

2015-08-19 Thread Frans Klaver
On Wed, Aug 19, 2015 at 12:00 PM, Sudip Mukherjee wrote: > On Tue, Aug 18, 2015 at 01:31:00PM -0300, Fabio Estevam wrote: >> On Tue, Aug 18, 2015 at 12:18 PM, Sudip Mukherjee >> wrote: >> > According to the kernel coding style the NULL check should not be >> > written as [variable] == NULL or [va

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

2015-08-19 Thread Sudip Mukherjee
On Tue, Aug 18, 2015 at 01:31:00PM -0300, Fabio Estevam wrote: > On Tue, Aug 18, 2015 at 12:18 PM, Sudip Mukherjee > 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 Documentat

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

2015-08-18 Thread Fabio Estevam
On Tue, Aug 18, 2015 at 12:18 PM, Sudip Mukherjee 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 "unsubscr

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

2015-08-18 Thread Sudip Mukherjee
According to the kernel coding style the NULL check should not be written as [variable] == NULL or [variable] != NULL. Signed-off-by: Sudip Mukherjee --- drivers/staging/most/aim-cdev/cdev.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/most/aim