checkpatch.pl false positives on asm single line statements

From: Jeff Merkey
Date: Sat Feb 27 2016 - 18:53:07 EST


Hi Joe,

Ran across a false positive case on asm volatile single line
statements. If you
use asm volatile it assumes its a complex statement fires off an error:

# ./scripts/checkpatch.pl --strict test.patch

ERROR: Macros with complex values should be enclosed in parentheses
#9: FILE: arch/x86/include/asm/bug.h:42:
+#define BREAKL() asm volatile("int3")

ERROR: Missing Signed-off-by: line(s)

total: 2 errors, 0 warnings, 0 checks, 8 lines checked

temp.patch has style problems, please review.

NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.

Jeff