Re: [PATCH] net/ipv4: Use IS_ERR_OR_NULL

2014-07-29 Thread David Miller
From: Himangi Saraogi Date: Sun, 27 Jul 2014 12:36:51 +0530 > This patch introduces the use of the macro IS_ERR_OR_NULL in place of > tests for NULL and IS_ERR. > > The following Coccinelle semantic patch was used for making the change: > > @@ > expression e; > @@ > > - e == NULL || IS_ERR(e)

[PATCH] net/ipv4: Use IS_ERR_OR_NULL

2014-07-27 Thread Himangi Saraogi
This patch introduces the use of the macro IS_ERR_OR_NULL in place of tests for NULL and IS_ERR. The following Coccinelle semantic patch was used for making the change: @@ expression e; @@ - e == NULL || IS_ERR(e) + IS_ERR_OR_NULL(e) || ... Signed-off-by: Himangi Saraogi Acked-by: Julia Lawal