Re: [PATCH] net: ethernet: fix odd_ptr_err.cocci warnings

From: David Miller
Date: Thu Jun 23 2016 - 15:21:42 EST


From: Julia Lawall <julia.lawall@xxxxxxx>
Date: Tue, 21 Jun 2016 12:03:28 +0200 (CEST)

> PTR_ERR should normally access the value just tested by IS_ERR
>
> Generated by: scripts/coccinelle/tests/odd_ptr_err.cocci
>
> CC: Tien Hock Loh <thloh@xxxxxxxxxx>
> Signed-off-by: Julia Lawall <julia.lawall@xxxxxxx>
> Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>

This doesn't apply to any of my tree(s).