]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit90428b4b0ed245a3e113b37d7b612450f4d42dd3
treead85c177e88e05a43b66bc519825ff291656410f
parent0d821952c407b24d90988d23cf0323496e7401d0
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