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

2016-06-23 Thread David Miller
From: Julia Lawall 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 > Signed-off-by: Julia Lawall > Signed-off-by: Fengguang Wu This doesn't apply

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

2016-06-21 Thread Julia Lawall
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 Signed-off-by: Julia Lawall Signed-off-by: Fengguang Wu --- This patch refers to the following code: url: https://github.com/0day-ci/linux/commits/thloh-a