Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1441930 > unrolled thread
| Started by | Joe Perches <joe@perches.com> |
|---|---|
| First post | 2016-07-13 02:20 +0200 |
| Last post | 2016-07-13 02:20 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH 1/2] checkpatch: Skip long lines that use an EFI_GUID macro Joe Perches <joe@perches.com> - 2016-07-13 02:20 +0200
| From | Joe Perches <joe@perches.com> |
|---|---|
| Date | 2016-07-13 02:20 +0200 |
| Subject | [PATCH 1/2] checkpatch: Skip long lines that use an EFI_GUID macro |
| Message-ID | <rUg4a-3O9-7@gated-at.bofh.it> |
These are also possible single line uses that exceed the
generic maximum line length (typically 80 columns)
Signed-off-by: Joe Perches <joe@perches.com>
---
scripts/checkpatch.pl | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 4904ced..cc787e6 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -2764,6 +2764,10 @@ sub process {
$line =~ /^\+\s*#\s*define\s+\w+\s+$String$/) {
$msg_type = "";
+ # EFI_GUID is another special case
+ } elsif ($line =~ /^\+.*\bEFI_GUID\s*\(/) {
+ $msg_type = "";
+
# Otherwise set the alternate message types
# a comment starts before $max_line_length
--
2.8.0.rc4.16.g56331f8
Back to top | Article view | linux.kernel
csiph-web