From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] openvswitch: Use IS_ERR_OR_NULL Date: Tue, 29 Jul 2014 15:32:27 -0700 (PDT) Message-ID: <20140729.153227.910850620944303115.davem@davemloft.net> References: <20140727070746.GA4825@himangi-Dell> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: pshelar@nicira.com, dev@openvswitch.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, julia.lawall@lip6.fr To: himangi774@gmail.com Return-path: In-Reply-To: <20140727070746.GA4825@himangi-Dell> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Himangi Saraogi Date: Sun, 27 Jul 2014 12:37:46 +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 > Acked-by: Julia Lawall Applied.