aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-12-10 15:51:46 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-10 17:41:11 -0800
commitabb08a53883ed7afbe3f0ac9444805042f473a63 (patch)
treeeed4ba0882422e17763c65ceef9ce66d11bf79bc /Makefile
parentcheckpatch: fix use via symlink, make missing spelling file non-fatal (diff)
downloadlinux-dev-abb08a53883ed7afbe3f0ac9444805042f473a63.tar.xz
linux-dev-abb08a53883ed7afbe3f0ac9444805042f473a63.zip
checkpatch: try to avoid mask and shift errors
Shift has a higher precedence that mask so warn when a mask then shift operation is done without parentheses around the mask. This test works well for a right shift, but the left shift is pretty commonly done correctly so only warn on the right shift. Signed-off-by: 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 'Makefile')
0 files changed, 0 insertions, 0 deletions