Re: [PATCH 1/2] net: netcp: replace IS_ERR_OR_NULL by IS_ERR

From: David Miller
Date: Wed Nov 16 2016 - 23:27:15 EST


From: Julia Lawall <Julia.Lawall@xxxxxxx>
Date: Wed, 16 Nov 2016 11:43:33 +0100

> knav_queue_open always returns an ERR_PTR value, never NULL. This can be
> confirmed by unfolding the function calls and conforms to the function's
> documentation. Thus, replace IS_ERR_OR_NULL by IS_ERR in error checks.
>
> The change is made using the following semantic patch:
> (http://coccinelle.lip6.fr/)
...
> Signed-off-by: Julia Lawall <Julia.Lawall@xxxxxxx>

Applied to net-next, thanks.