[PATCH 3/4] dma-buf: Adjust a null pointer check in dma_buf_attach()

Gustavo Padovan gustavo at padovan.org
Mon May 8 14:32:26 UTC 2017


2017-05-08 SF Markus Elfring <elfring at users.sourceforge.net>:

> From: Markus Elfring <elfring at users.sourceforge.net>
> Date: Mon, 8 May 2017 10:54:17 +0200
> 
> The script "checkpatch.pl" pointed information out like the following.
> 
> Comparison to NULL could be written "!attach"
> 
> Thus adjust this expression.
> 
> Signed-off-by: Markus Elfring <elfring at users.sourceforge.net>
> ---
>  drivers/dma-buf/dma-buf.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Gustavo Padovan <gustavo.padovan at collabora.com>

Gustavo



More information about the dri-devel mailing list