]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit83098a590a8eb7a0fe131109fd0ae7c415469dc8
tree7ac539f3e668317e1fa2f9f2e283d80eecc7333f
parentfffa9b4e01ca25d04bfea9885a152e67daf57df8
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