summaryrefslogtreecommitdiffstats
path: root/block/Kconfig
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2016-05-21 02:04:02 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2016-05-21 02:58:30 +0200
commitf39e1769bbfc4936ff8364fb2529dc8bf6bc6888 (patch)
treea3ed1a88fa0d29022c876037258ecb5827a2fea2 /block/Kconfig
parentcheckpatch: add PREFER_IS_ENABLED test (diff)
downloadlinux-f39e1769bbfc4936ff8364fb2529dc8bf6bc6888.tar.xz
linux-f39e1769bbfc4936ff8364fb2529dc8bf6bc6888.zip
checkpatch: improve CONSTANT_COMPARISON test for structure members
A "." dereference to an all uppercase structure member can be incorrectly reported as a CONSTANT_COMPARISON. ie: "if (table[i].PANELID == tempdx)" Fix it by checking for "." before the constant test. 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 'block/Kconfig')
0 files changed, 0 insertions, 0 deletions