[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140729.153223.1711793933586070215.davem@davemloft.net>
Date: Tue, 29 Jul 2014 15:32:23 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: himangi774@...il.com
Cc: xeb@...l.ru, kuznet@....inr.ac.ru, jmorris@...ei.org,
yoshfuji@...ux-ipv6.org, kaber@...sh.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, julia.lawall@...6.fr
Subject: Re: [PATCH] net/ipv4: Use IS_ERR_OR_NULL
From: Himangi Saraogi <himangi774@...il.com>
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)
> + IS_ERR_OR_NULL(e)
> || ...
>
> Signed-off-by: Himangi Saraogi <himangi774@...il.com>
> Acked-by: Julia Lawall <julia.lawall@...6.fr>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists