checkpatch: ignore #define TRACE_<foo> macros
authorJoe Perches <joe@perches.com>
Wed, 11 Sep 2013 21:24:00 +0000 (14:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:58:46 +0000 (15:58 -0700)
commitf95a7e6a462ed1338bd576ccb557ff86772a0776
treead85c177e88e05a43b66bc519825ff291656410f
parent91bfe4843dff4426ca3a0dd1dab8454c1534022d
checkpatch: ignore #define TRACE_<foo> macros

The tracing subsystem uses slightly odd #defines to set path/directory
locations for include files.

These #defines can cause false positives for the complex macro tests so
add exclusions for these specific #defines (TRACE_SYSTEM,
TRACE_INCLUDE_FILE, TRACE_INCLUDE_PATH).

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: Li Zefan <lizefan@huawei.com>
Cc: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl