Re: [PATCH] openvswitch: fix odd_ptr_err.cocci warnings

2014-12-24 Thread David Miller
From: Pravin Shelar Date: Wed, 24 Dec 2014 10:49:22 -0800 > On Tue, Dec 23, 2014 at 10:41 PM, kbuild test robot > wrote: >> net/openvswitch/vport-gre.c:188:5-11: inconsistent IS_ERR and PTR_ERR, >> PTR_ERR on line 189 >> >> PTR_ERR should access the value just tested by IS_ERR >> >> Semantic p

Re: [PATCH] openvswitch: fix odd_ptr_err.cocci warnings

2014-12-24 Thread Pravin Shelar
On Tue, Dec 23, 2014 at 10:41 PM, kbuild test robot wrote: > net/openvswitch/vport-gre.c:188:5-11: inconsistent IS_ERR and PTR_ERR, > PTR_ERR on line 189 > > PTR_ERR should access the value just tested by IS_ERR > > Semantic patch information: > There can be false positives in the patch case, w

[PATCH] openvswitch: fix odd_ptr_err.cocci warnings

2014-12-23 Thread kbuild test robot
net/openvswitch/vport-gre.c:188:5-11: inconsistent IS_ERR and PTR_ERR, PTR_ERR on line 189 PTR_ERR should access the value just tested by IS_ERR Semantic patch information: There can be false positives in the patch case, where it is the call IS_ERR that is wrong. Generated by: scripts/coccin