2017-12-18 22:51:21

by Heinrich Schuchardt

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

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 <[email protected]>
---
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