]> 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)
commit1a028bc5b40c8e692f81d4dae4a37e1aa6743938
tree7ac539f3e668317e1fa2f9f2e283d80eecc7333f
parentd74114e86b364216392def25da34dfa1ad74b81e
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