summaryrefslogtreecommitdiffstats
path: root/lib/cpumask.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-04-16 21:44:05 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-17 15:03:56 +0200
commit6ab3a9701e00c2a085bac6a7a9bdcf8fc5eca6c5 (patch)
tree155ea8740728586cc4f8eb933158861a0953f41c /lib/cpumask.c
parentfirmware/ihex2fw.c: restore missing default in switch statement (diff)
downloadlinux-6ab3a9701e00c2a085bac6a7a9bdcf8fc5eca6c5.tar.xz
linux-6ab3a9701e00c2a085bac6a7a9bdcf8fc5eca6c5.zip
checkpatch: improve "no space is necessary after a cast" test
The "no space is necessary after a cast" sizeof exclusion doesn't work properly. The test reports a false positive for code like: BUILD_BUG_ON(sizeof(struct batadv_bla_claim_dst) != 6); Make it work, simplify the exclusions, and add some comments. Signed-off-by: Joe Perches <joe@perches.com> Reported-by: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/cpumask.c')
0 files changed, 0 insertions, 0 deletions