public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* scripts/checkpatch: Concatenated strings should use spaces between elements
@ 2017-10-17 21:17 Heinrich Schuchardt
  2017-10-17 22:43 ` Joe Perches
  0 siblings, 1 reply; 6+ messages in thread
From: Heinrich Schuchardt @ 2017-10-17 21:17 UTC (permalink / raw)
  To: Andy Whitcroft, Joe Perches; +Cc: linux-kernel, Heinrich Schuchardt

This patch creates a warning (CHECK)
"Concatenated strings should use spaces between elements"

There are no concatenated strings here.

(checkpatch is also used in the U-Boot project where wide strings
occur in the EFI implementation.)

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 test.c | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 test.c

diff --git a/test.c b/test.c
new file mode 100644
index 0000000000..dfd33cd765
--- /dev/null
+++ b/test.c
@@ -0,0 +1,6 @@
+#include <foo.h>
+
+void foo(void)
+{
+	test(L"\"");
+}
-- 
2.14.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-10-18  6:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-17 21:17 scripts/checkpatch: Concatenated strings should use spaces between elements Heinrich Schuchardt
2017-10-17 22:43 ` Joe Perches
2017-10-17 22:58   ` Heinrich Schuchardt
2017-10-17 23:18     ` Joe Perches
2017-10-18  0:35     ` Joe Perches
2017-10-18  6:32       ` Heinrich Schuchardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox