From: Joe Perches Date: Fri, 13 Feb 2015 22:38:38 +0000 (-0800) Subject: checkpatch: add likely/unlikely comparison misuse test X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~91^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acd9362c248e33187629c950badb834b73e20e41;p=pandora-kernel.git checkpatch: add likely/unlikely comparison misuse test Add a test for probably likely/unlikely misuses where the comparison is likely misplaced if (likely(foo) > 0) vs if (likely(foo > 0)) Signed-off-by: Joe Perches Cc: Christoph Jaeger Cc: Julia Lawall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed