From: Wu Fengguang Date: Wed, 24 Dec 2014 06:41:39 +0000 (+0800) Subject: openvswitch: fix odd_ptr_err.cocci warnings X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~341^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4aa6118811c09c75f508f3f070328c71292f1ce4;p=pandora-kernel.git openvswitch: fix odd_ptr_err.cocci warnings 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/coccinelle/tests/odd_ptr_err.cocci CC: Pravin B Shelar Signed-off-by: Fengguang Wu Acked-by: Pravin B Shelar Signed-off-by: David S. Miller --- Reading git-diff-tree failed