linux/tools/power
Himangi Saraogi 97fa1c5ca6 cpupower: mperf monitor: Correct use of ! and &
In commit ae91d60ba8, 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:

// <smpl>
@@ expression E1,E2; @@
(
  !E1 & !E2
|
- !E1 & E2
+ !(E1 & E2)
)
// </smpl>

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2014-07-30 01:57:12 +02:00
..
acpi Merge branches 'acpi-tools' and 'pm-tools' 2014-06-03 23:13:34 +02:00
cpupower cpupower: mperf monitor: Correct use of ! and & 2014-07-30 01:57:12 +02:00
x86 tools / power: turbostat: Drop temperature checks 2014-05-07 00:14:46 +02:00