Skip to content
Snippets Groups Projects
user avatar
Joe Perches authored
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: default avatarJoe Perches <joe@perches.com>
Reported-by: default avatarJeff Merkey <linux.mdb@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
42e15293
History
Name Last commit Last update