checkpatch: reduce false positive rate of "complex macros"
authorJoe Perches <joe@perches.com>
Wed, 3 Jul 2013 22:05:27 +0000 (15:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:07:44 +0000 (16:07 -0700)
commit3cc4b1c3f0d283f4bb8d49059bd6df8e7af7558b
tree7ac539f3e668317e1fa2f9f2e283d80eecc7333f
parent9d7a34a5135d29b840d074ba8fbb9c2fac63e508
checkpatch: reduce false positive rate of "complex macros"

Allow "#define foo struct.member" without bleating a warning.

This also allows "#define foo bar.baz->qux" and so on.

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>
scripts/checkpatch.pl