From: Himangi Saraogi Date: Tue, 29 Jul 2014 16:12:18 +0000 (+0200) Subject: cpupower: mperf monitor: Correct use of ! and & X-Git-Tag: omap-for-v3.17/fixes-against-rc2~142^2~3^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97fa1c5ca680bdee2c650e3aadf2a839b92f3f0e;p=pandora-kernel.git cpupower: mperf monitor: Correct use of ! and & In commit ae91d60ba88ef0bdb1b5e9b2363bd52fc45d2af7, a bug was fixed that involved converting !x & y to !(x & y). The code below shows the same pattern, and thus should perhaps be fixed in the same way. The Coccinelle semantic patch that makes this change is as follows: // @@ expression E1,E2; @@ ( !E1 & !E2 | - !E1 & E2 + !(E1 & E2) ) // Signed-off-by: Himangi Saraogi Signed-off-by: Thomas Renninger Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed