diff options
author | Joe Perches <joe@perches.com> | 2018-02-07 00:38:52 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-02-07 03:32:45 +0100 |
commit | 3f7f335dbc8675e0b55b2cedb5164b7ead1e4fe6 (patch) | |
tree | 5d743d07cf1789ce8131c9d1ff53b0825acd10f2 /.gitignore | |
parent | checkpatch: ignore some octal permissions of 0 (diff) | |
download | linux-3f7f335dbc8675e0b55b2cedb5164b7ead1e4fe6.tar.xz linux-3f7f335dbc8675e0b55b2cedb5164b7ead1e4fe6.zip |
checkpatch: improve quoted string and line continuation test
Given this patch context,
+#define EFI_ST_DISK_IMG { \
+ 0x00000240, "\xbe\x5b\x7c\xac\x22\xc0\x74\x0b" /* .[|.".t. */ \
+ }
the current code misreports a quoted string line continuation defect as
there is a single quote in comment.
The 'raw' line should not be tested for quote count, the comment
substituted line should be instead.
Link: http://lkml.kernel.org/r/13f2735df10c33ca846e26f42f5cce6618157200.1513698599.git.joe@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Reported-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions