summaryrefslogtreecommitdiffstats
path: root/scripts/markup_oops.pl
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@canonical.com>2012-03-23 15:02:18 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-23 16:58:36 -0700
commitfd1b57ac73f169a5ba7a9569989aad40184f6340 (patch)
tree7a188a1f50c00a86e790acc406fb96db45294850 /scripts/markup_oops.pl
parente45bab8ebfee65ba89b228c1e7c64a6cb0812124 (diff)
downloadlinux-fd1b57ac73f169a5ba7a9569989aad40184f6340.tar.gz
linux-fd1b57ac73f169a5ba7a9569989aad40184f6340.tar.bz2
linux-fd1b57ac73f169a5ba7a9569989aad40184f6340.zip
checkpatch: high precedence operators do not require additional parentheses in #defines
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>
Diffstat (limited to 'scripts/markup_oops.pl')
0 files changed, 0 insertions, 0 deletions