[BUG] checkpatch.pl: false warning 'Avoid line continuations in quoted strings'

From: Heinrich Schuchardt
Date: Mon Dec 18 2017 - 17:51:24 EST


This patch creates a false warning
WARNING: Avoid line continuations in quoted strings

A '"' in a comment is not the start of a quoted string.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@xxxxxx>
---
foo.h | 3 +++
1 file changed, 3 insertions(+)
create mode 100644 foo.h

diff --git a/foo.h b/foo.h
new file mode 100644
index 0000000000..c9e8cddc04
--- /dev/null
+++ b/foo.h
@@ -0,0 +1,3 @@
+#define EFI_ST_DISK_IMG { \
+ 0x00000240, "\xbe\x5b\x7c\xac\x22\xc0\x74\x0b" /* .[|.".t. */ \
+ }
--
2.15.1