diff options
author | Joe Perches <joe@perches.com> | 2016-03-15 14:58:01 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-15 16:55:16 -0700 |
commit | 42e152931deba7500e756c39e8e2df2e244860f2 (patch) | |
tree | e99b1bc10c15d990f8d2cc9bd237a0aa74146c42 /README | |
parent | 9cf7666ace654cc50f815e95f0415e3fcdd6fcfe (diff) | |
download | linux-42e152931deba7500e756c39e8e2df2e244860f2.tar.bz2 |
checkpatch: exclude asm volatile from complex macro check
asm volatile and all its variants like __asm__ __volatile__ ("<foo>")
are reported as errors with "Macros with with complex values should be
enclosed in parentheses".
Make an exception for these asm volatile macro definitions by converting
the "asm volatile" to "asm_volatile" so it appears as a single function
call and the error isn't reported.
Signed-off-by: Joe Perches <joe@perches.com>
Reported-by: Jeff Merkey <linux.mdb@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions