Re: [PATCH 4/8] [media] videobuf-dma-sg: Adjust 24 checks for null values

2017-01-09 Thread Dan Carpenter
On Mon, Dec 26, 2016 at 09:48:19PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 26 Dec 2016 20:30:19 +0100 > > Convert comparisons with the preprocessor symbol "NULL" or the value "0" > to condition checks without it. Generally lengths are numbers and not booleans so "len

[PATCH 4/8] [media] videobuf-dma-sg: Adjust 24 checks for null values

2016-12-26 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 26 Dec 2016 20:30:19 +0100 Convert comparisons with the preprocessor symbol "NULL" or the value "0" to condition checks without it. Signed-off-by: Markus Elfring --- drivers/media/v4l2-core/videobuf-dma-sg.c | 48 +++ 1 file changed,