Messages in this thread | | | Date | Tue, 29 Jul 2014 15:32:27 -0700 (PDT) | Subject | Re: [PATCH] openvswitch: Use IS_ERR_OR_NULL | From | David Miller <> |
| |
From: Himangi Saraogi <himangi774@gmail.com> 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 <himangi774@gmail.com> > Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Applied.
| |