Revision fd1b57ac73f169a5ba7a9569989aad40184f6340 authored by Andy Whitcroft on 23 March 2012, 22:02:18 UTC, committed by Linus Torvalds on 23 March 2012, 23:58:36 UTC
With any very high precedence 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>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent e45bab8
History

back to top