| commit | 5f90cd882c78daaa3d52ea211ce4375a69c2dfad | [log] [tgz] |
|---|---|---|
| author | Andy Whitcroft <apw@canonical.com> | Fri Jan 20 12:03:19 2012 +0000 |
| committer | Andy Whitcroft <apw@canonical.com> | Fri Jan 20 12:14:30 2012 +0000 |
| tree | 82de956cfe6db76a3a6f386678eb8d8ff8385614 | |
| parent | e01e8d04b663c8958725d18285846c9292f07596 [diff] |
checkpatch: high precidence operators do not require additional parentheses in #defines
With any very high precidence operator it is not necessary to enforce
additional parentheses around simple negated expressions. This prevents
us requesting further perentheses around the following:
#define PMEM_IS_FREE(id, index) !(pmem[id].bitmap[index].allocated)
For now add logical and bitwise not and unary minus.
Signed-off-by: Andy Whitcroft <apw@canonical.com>