These are also possible single line uses that exceed the generic maximum line length (typically 80 columns)
Signed-off-by: Joe Perches <j...@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