checkpatch tweaks
v2 cover checkpatch tweaks
My proposal after having watched patchew complain for a couple days about patches being sent on the list; amended after observations from reviewers.
v1->v2: perform more checks on all sources (patch 2)
revive patch to update line length rules (patch 3)
Paolo Bonzini (5):
checkpatch: tweak the files in which TABs are checked
checkpatch: check for CVS keywords on all sources CODING_STYLE, checkpatch: update line length rules
checkpatch: bump most warnings to errors
checkpatch: default to success if only warnings
CODING_STYLE | 13 ++++-- scripts/checkpatch.pl | 107 ++++++++++++++++++++++++-------------------------- 2 files changed, 62 insertions(+), 58 deletions(-)
Signature · 1 line
1.8.3.1
PATCH v2 1/5 checkpatch: tweak the files in which TABs are checked
Include Python and shell scripts, and make an exception for Perl scripts we imported from Linux or elsewhere.
--- scripts/checkpatch.pl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
scripts/checkpatch.pl +5 -4
@@ -1334,7 +1334,7 @@ sub process { } # check we are in a valid source file if not then ignore this hunk - next if ($realfile !~ /\.(h|c|cpp|s|S|pl|sh)$/); + next if ($realfile !~ /\.(h|c|cpp|s|S|pl|py|sh)$/); #80 column limit if ($line =~ /^\+/ &&
@@ -1354,10 +1354,11 @@ sub process { WARN("adding a line without newline at end of file\n" . $herecurr); } -# check we are in a valid source file C or perl if not then ignore this hunk - next if ($realfile !~ /\.(h|c|cpp|pl)$/); +# tabs are only allowed in assembly source code, and in +# some scripts we imported from other projects. + next if ($realfile =~ /\.(s|S)$/); + next if ($realfile =~ /(checkpatch|get_maintainer|texi2pod)\.pl$/); -# in QEMU, no tabs are allowed if ($rawline =~ /^\+.*\t/) { my $herevet = "$here\n" . cat_vet($rawline) . "\n"; ERROR("code indent should never use tabs\n" . $herevet);
Signature · 1 line
1.8.3.1
Re: [Qemu-devel] [PATCH 1/5] checkpatch: tweak the files in which TABs are checked
Quoted 13 lines · On Wed, 10 Aug 2016 10:22:46 +0200 Paolo Bonzini <[email protected]> wrote:
Include Python and shell scripts, and make an exception for Perl scripts we imported from Linux or elsewhere.
Signed-off-by Paolo Bonzini <[email protected]>--- scripts/checkpatch.pl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)scripts/checkpatch.pl +0
-0
scripts/checkpatch.pl sub process { · line 1337
Quoted 5 lines
scripts/checkpatch.pl +1
-1@@ -1334,7 +1334,7 @@ sub process { } # check we are in a valid source file if not then ignore this hunk - next if ($realfile !~ /\.(h|c|cpp|s|S|pl|sh)$/); + next if ($realfile !~ /\.(h|c|cpp|s|S|pl|py|sh)$/);
Do all of our checks work for python as well?
scripts/checkpatch.pl sub process { · line 1360
Quoted 13 lines
scripts/checkpatch.pl +4
-2#80 column limit if ($line =~ /^\+/ &&@@ -1354,10 +1354,11 @@ sub process { WARN("adding a line without newline at end of file\n" . $herecurr); } -# check we are in a valid source file C or perl if not then ignore this hunk - next if ($realfile !~ /\.(h|c|cpp|pl)$/); +# tabs are only allowed in assembly source code, and in +# some scripts we imported from other projects. + next if ($realfile =~ /\.(s|S)$/); + next if ($realfile =~ /(checkpatch|get_maintainer|texi2pod)\.pl$/);
Looks reasonable. Do you plan to include the "skip header updates" patch as well?
Quoted 5 lines
scripts/checkpatch.pl +0
-1-# in QEMU, no tabs are allowed if ($rawline =~ /^\+.*\t/) { my $herevet = "$here\n" . cat_vet($rawline) . "\n"; ERROR("code indent should never use tabs\n" . $herevet);
Re: [Qemu-devel] [PATCH 1/5] checkpatch: tweak the files in which TABs are checked
----- Original Message -----
Quoted 24 lines
From: "Cornelia Huck" <[email protected]>
To: "Paolo Bonzini" <[email protected]>
Cc: [email protected], [email protected], [email protected], [email protected]
Sent: Wednesday, August 10, 2016 10:57:30 AM
Subject: Re: [PATCH 1/5] checkpatch: tweak the files in which TABs are checkedQuoted 15 lines · On Wed, 10 Aug 2016 10:22:46 +0200 Paolo Bonzini <[email protected]> wrote:
Include Python and shell scripts, and make an exception for Perl scripts we imported from Linux or elsewhere.
Signed-off-by Paolo Bonzini <[email protected]>--- scripts/checkpatch.pl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)scripts/checkpatch.pl +0
-0@@ -1334,7 +1334,7 @@ sub process { }
Quoted 5 lines
scripts/checkpatch.pl sub process { · line 1337
Quoted 3 lines
scripts/checkpatch.pl +1
-1# check we are in a valid source file if not then ignore this hunk - next if ($realfile !~ /\.(h|c|cpp|s|S|pl|sh)$/); + next if ($realfile !~ /\.(h|c|cpp|s|S|pl|py|sh)$/);Do all of our checks work for python as well?
Only these:
ERROR("line over 90 characters\n" . $herecurr);
WARN("line over 80 characters\n" . $herecurr);
ERROR("unnecessary whitespace before a quoted newline\n" . $herecurr);
ERROR("adding a line without newline at end of file\n" . $herecurr);
ERROR("CVS style keyword markers, these will _not_ be updated\n". $herecurr);
ERROR("code indent should never use tabs\n" . $herevet);After which there is a
# check we are in a valid C source file if not then ignore this hunk
next if ($realfile !~ /\.(h|c|cpp)$/);Quoted 2 lines
Looks reasonable. Do you plan to include the "skip header updates" patch as well?
Yes.
Paolo
Cornelia Huck
Acked-byRe: [Qemu-devel] [PATCH 1/5] checkpatch: tweak the files in which TABs are checked
Quoted 42 lines · On Wed, 10 Aug 2016 05:02:53 -0400 (EDT) Paolo Bonzini <[email protected]>…
----- Original Message -----
Quoted 24 lines
From: "Cornelia Huck" <[email protected]>
To: "Paolo Bonzini" <[email protected]>
Cc: [email protected], [email protected], [email protected], [email protected]
Sent: Wednesday, August 10, 2016 10:57:30 AM
Subject: Re: [PATCH 1/5] checkpatch: tweak the files in which TABs are checkedQuoted 15 lines · On Wed, 10 Aug 2016 10:22:46 +0200 Paolo Bonzini <[email protected]> wrote:
Include Python and shell scripts, and make an exception for Perl scripts we imported from Linux or elsewhere.
Signed-off-by Paolo Bonzini <[email protected]>--- scripts/checkpatch.pl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)scripts/checkpatch.pl +0
-0@@ -1334,7 +1334,7 @@ sub process { }Quoted 5 lines
scripts/checkpatch.pl sub process { · line 1337
Quoted 3 lines
scripts/checkpatch.pl +1
-1# check we are in a valid source file if not then ignore this hunk - next if ($realfile !~ /\.(h|c|cpp|s|S|pl|sh)$/); + next if ($realfile !~ /\.(h|c|cpp|s|S|pl|py|sh)$/);Do all of our checks work for python as well?
Only these:
ERROR("line over 90 characters\n" . $herecurr); WARN("line over 80 characters\n" . $herecurr); ERROR("unnecessary whitespace before a quoted newline\n" . $herecurr); ERROR("adding a line without newline at end of file\n" . $herecurr); ERROR("CVS style keyword markers, these will _not_ be updated\n". $herecurr); ERROR("code indent should never use tabs\n" . $herevet);After which there is a
Quoted 7 lines
# check we are in a valid C source file if not then ignore this hunk next if ($realfile !~ /\.(h|c|cpp)$/);Quoted 2 lines
Looks reasonable. Do you plan to include the "skip header updates" patch as well?
Yes.
Thanks for clarifying (and for doing the work!)
PATCH v2 2/5 checkpatch: check for CVS keywords on all sources
In reply to Paolo BonziniThese should apply to all files, not just C/C++. Tweak the regular expression to check for whole words, to avoid false positives on Perl variables starting with "Id".
--- scripts/checkpatch.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
scripts/checkpatch.pl +5 -5
@@ -1354,6 +1354,11 @@ sub process { WARN("adding a line without newline at end of file\n" . $herecurr); } +# check for RCS/CVS revision markers + if ($rawline =~ /^\+.*\$(Revision|Log|Id)(?:\$|\b)/) { + WARN("CVS style keyword markers, these will _not_ be updated\n". $herecurr); + } + # tabs are only allowed in assembly source code, and in # some scripts we imported from other projects. next if ($realfile =~ /\.(s|S)$/);
@@ -1368,11 +1373,6 @@ sub process { # check we are in a valid C source file if not then ignore this hunk next if ($realfile !~ /\.(h|c|cpp)$/); -# check for RCS/CVS revision markers - if ($rawline =~ /^\+.*\$(Revision|Log|Id)(?:\$|)/) { - WARN("CVS style keyword markers, these will _not_ be updated\n". $herecurr); - } - # Check for potential 'bare' types my ($stat, $cond, $line_nr_next, $remain_next, $off_next, $realline_next);
Signature · 1 line
1.8.3.1
PATCH v2 3/5 CODING_STYLE, checkpatch: update line length rules
In reply to Paolo BonziniLine lengths above 80 characters do exist. They are rare, but they happen from time to time. An ignored rule is worse than an exception to the rule, so do the latter.
Some on the list expressed their preference for a soft limit that is slightly lower than 80 characters, to account for extra characters in unified diffs (including three-way diffs) and for email quoting. However, there was no consensus on this so keep the 80-character soft limit and add a hard limit at 90.
--- CODING_STYLE | 13 ++++++++++--- scripts/checkpatch.pl | 8 ++++++-- 2 files changed, 16 insertions(+), 5 deletions(-)
CODING_STYLE +7 -1
@@ -31,14 +31,20 @@ Do not leave whitespace dangling off the ends of lines. 2. Line width -Lines are 80 characters; not longer. +Lines should be 80 characters; try not to make them longer. + +Sometimes it is hard to do, especially when dealing with QEMU subsystems +that use long function or symbol names. Even in that case, do not make +lines much longer than 80 characters. Rationale: - Some people like to tile their 24" screens with a 6x4 matrix of 80x24 xterms and use vi in all of them. The best way to punish them is to let them keep doing it. - Code and especially patches is much more readable if limited to a sane line length. Eighty is traditional. + - The four-space indentation makes the most common excuse ("But look + at all that white space on the left!") moot. - It is the QEMU coding style. 3. Naming
scripts/checkpatch.pl +6 -2
@@ -1336,12 +1336,16 @@ sub process { # check we are in a valid source file if not then ignore this hunk next if ($realfile !~ /\.(h|c|cpp|s|S|pl|py|sh)$/); -#80 column limit +#90 column limit if ($line =~ /^\+/ && !($line =~ /^\+\s*"[^"]*"\s*(?:\s*|,|\)\s*;)\s*$/) && $length > 80) { - WARN("line over 80 characters\n" . $herecurr); + if ($length > 90) { + ERROR("line over 90 characters\n" . $herecurr); + } else { + WARN("line over 80 characters\n" . $herecurr); + } } # check for spaces before a quoted newline
Signature · 1 line
1.8.3.1
Re: [Qemu-devel] [PATCH 3/5] CODING_STYLE, checkpatch: update line length rules
Quoted 10 lines · On Wed, 10 Aug 2016 10:22:48 +0200 Paolo Bonzini <[email protected]> wrote:
Line lengths above 80 characters do exist. They are rare, but they happen from time to time. An ignored rule is worse than an exception to the rule, so do the latter.
Some on the list expressed their preference for a soft limit that is slightly lower than 80 characters, to account for extra characters in unified diffs (including three-way diffs) and for email quoting. However, there was no consensus on this so keep the 80-character soft limit and add a hard limit at 90.
Quoted 5 lines
Signed-off-by Paolo Bonzini <[email protected]>--- CODING_STYLE | 13 ++++++++++--- scripts/checkpatch.pl | 8 ++++++-- 2 files changed, 16 insertions(+), 5 deletions(-)
I would prefer a slightly bigger hard limit to allow for un-split strings, but that's pushing into bike-shed territory. We can still revisit that any time later.
Re: [Qemu-devel] [PATCH 3/5] CODING_STYLE, checkpatch: update line length rules
In reply to Paolo BonziniQuoted 56 lines · Paolo Bonzini
Line lengths above 80 characters do exist. They are rare, but they happen from time to time. An ignored rule is worse than an exception to the rule, so do the latter.
Some on the list expressed their preference for a soft limit that is slightly lower than 80 characters, to account for extra characters in unified diffs (including three-way diffs) and for email quoting. However, there was no consensus on this so keep the 80-character soft limit and add a hard limit at 90.
Signed-off-by Paolo Bonzini <[email protected]>--- CODING_STYLE | 13 ++++++++++--- scripts/checkpatch.pl | 8 ++++++-- 2 files changed, 16 insertions(+), 5 deletions(-)CODING_STYLE +7
-1@@ -31,14 +31,20 @@ Do not leave whitespace dangling off the ends of lines. 2. Line width -Lines are 80 characters; not longer. +Lines should be 80 characters; try not to make them longer. + +Sometimes it is hard to do, especially when dealing with QEMU subsystems +that use long function or symbol names. Even in that case, do not make +lines much longer than 80 characters. Rationale: - Some people like to tile their 24" screens with a 6x4 matrix of 80x24 xterms and use vi in all of them. The best way to punish them is to let them keep doing it. - Code and especially patches is much more readable if limited to a sane line length. Eighty is traditional. + - The four-space indentation makes the most common excuse ("But look + at all that white space on the left!") moot. - It is the QEMU coding style. 3. Namingscripts/checkpatch.pl +1
-1@@ -1336,12 +1336,16 @@ sub process { # check we are in a valid source file if not then ignore this hunk next if ($realfile !~ /\.(h|c|cpp|s|S|pl|py|sh)$/); -#80 column limit +#90 column limit if ($line =~ /^\+/ && !($line =~ /^\+\s*"[^"]*"\s*(?:\s*|,|\)\s*;)\s*$/) && $length > 80)
scripts/checkpatch.pl sub process { · line 1351
Quoted 10 lines
scripts/checkpatch.pl +5
-1{ - WARN("line over 80 characters\n" . $herecurr); + if ($length > 90) { + ERROR("line over 90 characters\n" . $herecurr); + } else { + WARN("line over 80 characters\n" . $herecurr); + } } # check for spaces before a quoted newline
PATCH v2 4/5 checkpatch: bump most warnings to errors
In reply to Paolo BonziniThis only leaves a warning-level message for the extra-long lines soft limit. Everything else is bumped up.
In the future warnings can be added for checks that can have false positives.
--- scripts/checkpatch.pl | 66 +++++++++++++++++++++++++-------------------------- 1 file changed, 33 insertions(+), 33 deletions(-)
scripts/checkpatch.pl +33 -33
@@ -1289,11 +1289,11 @@ sub process { # This is a signoff, if ugly, so do not double report. $signoff++; if (!($line =~ /^\s*Signed-off-by:/)) { - WARN("Signed-off-by: is the preferred form\n" . + ERROR("Signed-off-by: is the preferred form\n" . $herecurr); } if ($line =~ /^\s*signed-off-by:\S/i) { - WARN("space required after Signed-off-by:\n" . + ERROR("space required after Signed-off-by:\n" . $herecurr); } }
@@ -1350,17 +1350,17 @@ sub process { # check for spaces before a quoted newline if ($rawline =~ /^.*\".*\s\\n/) { - WARN("unnecessary whitespace before a quoted newline\n" . $herecurr); + ERROR("unnecessary whitespace before a quoted newline\n" . $herecurr); } # check for adding lines without a newline. if ($line =~ /^\+/ && defined $lines[$linenr] && $lines[$linenr] =~ /^\\ No newline at end of file/) { - WARN("adding a line without newline at end of file\n" . $herecurr); + ERROR("adding a line without newline at end of file\n" . $herecurr); } # check for RCS/CVS revision markers if ($rawline =~ /^\+.*\$(Revision|Log|Id)(?:\$|\b)/) { - WARN("CVS style keyword markers, these will _not_ be updated\n". $herecurr); + ERROR("CVS style keyword markers, these will _not_ be updated\n". $herecurr); } # tabs are only allowed in assembly source code, and in
@@ -1506,7 +1506,7 @@ sub process { { my ($nlength, $nindent) = line_stats($lines[$ctx_ln - 1]); if ($nindent > $indent) { - WARN("trailing semicolon indicates no statements, indent implies otherwise\n" . + ERROR("trailing semicolon indicates no statements, indent implies otherwise\n" . "$here\n$ctx\n$rawlines[$ctx_ln - 1]\n"); } }
@@ -1594,7 +1594,7 @@ sub process { if ($check && (($sindent % 4) != 0 || ($sindent <= $indent && $s ne ''))) { - WARN("suspect code indent for conditional statements ($indent, $sindent)\n" . $herecurr . "$stat_real\n"); + ERROR("suspect code indent for conditional statements ($indent, $sindent)\n" . $herecurr . "$stat_real\n"); } }
@@ -1772,7 +1772,7 @@ sub process { } elsif ($ctx =~ /$Type$/) { } else { - WARN("space prohibited between function name and open parenthesis '('\n" . $herecurr); + ERROR("space prohibited between function name and open parenthesis '('\n" . $herecurr); } } # Check operator spacing.
@@ -2011,7 +2011,7 @@ sub process { if ($line =~ /^.\s*return\s*(E[A-Z]*)\s*;/) { my $name = $1; if ($name ne 'EOF' && $name ne 'ERROR') { - WARN("return of an errno should typically be -ve (return -$1)\n" . $herecurr); + ERROR("return of an errno should typically be -ve (return -$1)\n" . $herecurr); } }
@@ -2083,7 +2083,7 @@ sub process { (?:\&\&|\|\||\)|\]) )/x) { - WARN("boolean test with hexadecimal, perhaps just 1 \& or \|?\n" . $herecurr); + ERROR("boolean test with hexadecimal, perhaps just 1 \& or \|?\n" . $herecurr); } # if and else should not have general statements after it
@@ -2139,7 +2139,7 @@ sub process { #no spaces allowed after \ in define if ($line=~/\#\s*define.*\\\s$/) { - WARN("Whitepspace after \\ makes next lines useless\n" . $herecurr); + ERROR("Whitespace after \\ makes next lines useless\n" . $herecurr); } # multi-statement macros should be enclosed in a do while loop, grab the
@@ -2291,7 +2291,7 @@ sub process { } } if ($seen != ($#chunks + 1)) { - WARN("braces {} are necessary for all arms of this statement\n" . $herectx); + ERROR("braces {} are necessary for all arms of this statement\n" . $herectx); } } }
@@ -2359,19 +2359,19 @@ sub process { $herectx .= raw_line($linenr, $n) . "\n";; } - WARN("braces {} are necessary even for single statement blocks\n" . $herectx); + ERROR("braces {} are necessary even for single statement blocks\n" . $herectx); } } # no volatiles please my $asm_volatile = qr{\b(__asm__|asm)\s+(__volatile__|volatile)\b}; if ($line =~ /\bvolatile\b/ && $line !~ /$asm_volatile/) { - WARN("Use of volatile is usually wrong: see Documentation/volatile-considered-harmful.txt\n" . $herecurr); + ERROR("Use of volatile is usually wrong: see Documentation/volatile-considered-harmful.txt\n" . $herecurr); } # warn about #if 0 if ($line =~ /^.\s*\#\s*if\s+0\b/) { - WARN("if this code is redundant consider removing it\n" . + ERROR("if this code is redundant consider removing it\n" . $herecurr); }
@@ -2379,7 +2379,7 @@ sub process { if ($prevline =~ /\bif\s*\(([^\)]*)\)/) { my $expr = $1; if ($line =~ /\bg_free\(\Q$expr\E\);/) { - WARN("g_free(NULL) is safe this check is probably not required\n" . $hereprev); + ERROR("g_free(NULL) is safe this check is probably not required\n" . $hereprev); } }
@@ -2397,19 +2397,19 @@ sub process { # check for memory barriers without a comment. if ($line =~ /\b(smp_mb|smp_rmb|smp_wmb|smp_read_barrier_depends)\(/) { if (!ctx_has_comment($first_line, $linenr)) { - WARN("memory barrier without comment\n" . $herecurr); + ERROR("memory barrier without comment\n" . $herecurr); } } # check of hardware specific defines # we have e.g. CONFIG_LINUX and CONFIG_WIN32 for common cases # where they might be necessary. if ($line =~ m@^.\s*\#\s*if.*\b__@) { - WARN("architecture specific defines should be avoided\n" . $herecurr); + ERROR("architecture specific defines should be avoided\n" . $herecurr); } # Check that the storage class is at the beginning of a declaration if ($line =~ /\b$Storage\b/ && $line !~ /^.\s*$Storage\b/) { - WARN("storage class should be at the beginning of the declaration\n" . $herecurr) + ERROR("storage class should be at the beginning of the declaration\n" . $herecurr) } # check the location of the inline attribute, that it is between
@@ -2421,7 +2421,7 @@ sub process { # check for sizeof(&) if ($line =~ /\bsizeof\s*\(\s*\&/) { - WARN("sizeof(& should be avoided\n" . $herecurr); + ERROR("sizeof(& should be avoided\n" . $herecurr); } # check for new externs in .c files.
@@ -2438,40 +2438,40 @@ sub process { if ($s =~ /^\s*;/ && $function_name ne 'uninitialized_var') { - WARN("externs should be avoided in .c files\n" . $herecurr); + ERROR("externs should be avoided in .c files\n" . $herecurr); } if ($paren_space =~ /\n/) { - WARN("arguments for function declarations should follow identifier\n" . $herecurr); + ERROR("arguments for function declarations should follow identifier\n" . $herecurr); } } elsif ($realfile =~ /\.c$/ && defined $stat && $stat =~ /^.\s*extern\s+/) { - WARN("externs should be avoided in .c files\n" . $herecurr); + ERROR("externs should be avoided in .c files\n" . $herecurr); } # check for pointless casting of g_malloc return if ($line =~ /\*\s*\)\s*g_(try)?(m|re)alloc(0?)(_n)?\b/) { if ($2 == 'm') { - WARN("unnecessary cast may hide bugs, use g_$1new$3 instead\n" . $herecurr); + ERROR("unnecessary cast may hide bugs, use g_$1new$3 instead\n" . $herecurr); } else { - WARN("unnecessary cast may hide bugs, use g_$1renew$3 instead\n" . $herecurr); + ERROR("unnecessary cast may hide bugs, use g_$1renew$3 instead\n" . $herecurr); } } # check for gcc specific __FUNCTION__ if ($line =~ /__FUNCTION__/) { - WARN("__func__ should be used instead of gcc specific __FUNCTION__\n" . $herecurr); + ERROR("__func__ should be used instead of gcc specific __FUNCTION__\n" . $herecurr); } # recommend qemu_strto* over strto* for numeric conversions if ($line =~ /\b(strto[^kd].*?)\s*\(/) { - WARN("consider using qemu_$1 in preference to $1\n" . $herecurr); + ERROR("consider using qemu_$1 in preference to $1\n" . $herecurr); } # check for module_init(), use category-specific init macros explicitly please if ($line =~ /^module_init\s*\(/) { - WARN("please use block_init(), type_init() etc. instead of module_init()\n" . $herecurr); + ERROR("please use block_init(), type_init() etc. instead of module_init()\n" . $herecurr); } # check for various ops structs, ensure they are const. my $struct_ops = qr{AIOCBInfo|
@@ -2496,7 +2496,7 @@ sub process { VMStateInfo}x; if ($line !~ /\bconst\b/ && $line =~ /\b($struct_ops)\b/) { - WARN("struct $1 should normally be const\n" . + ERROR("struct $1 should normally be const\n" . $herecurr); }
@@ -2506,14 +2506,14 @@ sub process { $string = substr($rawline, $-[1], $+[1] - $-[1]); $string =~ s/%%/__/g; if ($string =~ /(?<!%)%L[udi]/) { - WARN("\%Ld/%Lu are not-standard C, use %lld/%llu\n" . $herecurr); + ERROR("\%Ld/%Lu are not-standard C, use %lld/%llu\n" . $herecurr); last; } } # QEMU specific tests if ($rawline =~ /\b(?:Qemu|QEmu)\b/) { - WARN("use QEMU instead of Qemu or QEmu\n" . $herecurr); + ERROR("use QEMU instead of Qemu or QEmu\n" . $herecurr); } # Qemu error function tests
@@ -2530,7 +2530,7 @@ sub process { error_report}x; if ($rawline =~ /\b(?:$qemu_error_funcs)\s*\(.*\".*\\n/) { - WARN("Error messages should not contain newlines\n" . $herecurr); + ERROR("Error messages should not contain newlines\n" . $herecurr); } # Continue checking for error messages that contains newlines. This
@@ -2551,7 +2551,7 @@ sub process { } if ($rawlines[$i] =~ /\b(?:$qemu_error_funcs)\s*\(/) { - WARN("Error messages should not contain newlines\n" . $herecurr); + ERROR("Error messages should not contain newlines\n" . $herecurr); } }
Signature · 1 line
1.8.3.1
Re: [Qemu-devel] [PATCH 4/5] checkpatch: bump most warnings to errors
Quoted 16 lines · Paolo Bonzini
This only leaves a warning-level message for the extra-long lines soft limit. Everything else is bumped up.
In the future warnings can be added for checks that can have false positives.
Signed-off-by Paolo Bonzini <[email protected]>--- scripts/checkpatch.pl | 66 +++++++++++++++++++++++++-------------------------- 1 file changed, 33 insertions(+), 33 deletions(-)scripts/checkpatch.pl +0
-0
scripts/checkpatch.pl sub process { · line 1294
Quoted 7 lines
scripts/checkpatch.pl +1
-1@@ -1289,11 +1289,11 @@ sub process { # This is a signoff, if ugly, so do not double report. $signoff++; if (!($line =~ /^\s*Signed-off-by:/)) { - WARN("Signed-off-by: is the preferred form\n" . + ERROR("Signed-off-by: is the preferred form\n" . $herecurr); }
If you turn this into an ERROR, it's not the "preferred form" anymore, but the "mandated form". So I'd suggest to either keep it as WARN or to rephrase the message.
Thomas
Re: [Qemu-devel] [PATCH 4/5] checkpatch: bump most warnings to errors
Quoted 17 lines
scripts/checkpatch.pl sub process { · line 1294
Quoted 13 lines
scripts/checkpatch.pl +1
-1@@ -1289,11 +1289,11 @@ sub process { # This is a signoff, if ugly, so do not double report. $signoff++; if (!($line =~ /^\s*Signed-off-by:/)) { - WARN("Signed-off-by: is the preferred form\n" . + ERROR("Signed-off-by: is the preferred form\n" . $herecurr); }If you turn this into an ERROR, it's not the "preferred form" anymore, but the "mandated form". So I'd suggest to either keep it as WARN or to rephrase the message.
What about:
ERROR("Signed-off-by: is spelled with uppercase \"s\"\n" .
$herecurr);
Paolo
Re: [Qemu-devel] [PATCH 4/5] checkpatch: bump most warnings to errors
Quoted 18 lines · Paolo Bonzini
Quoted 17 lines
scripts/checkpatch.pl sub process { · line 1294
Quoted 13 lines
scripts/checkpatch.pl +1
-1@@ -1289,11 +1289,11 @@ sub process { # This is a signoff, if ugly, so do not double report. $signoff++; if (!($line =~ /^\s*Signed-off-by:/)) { - WARN("Signed-off-by: is the preferred form\n" . + ERROR("Signed-off-by: is the preferred form\n" . $herecurr); }If you turn this into an ERROR, it's not the "preferred form" anymore, but the "mandated form". So I'd suggest to either keep it as WARN or to rephrase the message.
Quoted 4 lines
What about:
ERROR("Signed-off-by: is spelled with uppercase \"s\"\n" .
$herecurr);
That would still be confusing if I'd spell it like "Signed-Off-BY", for example.
Maybe the outer check should simply not be case-insensitive, then you could remove this check here completely?
Thomas
Re: [Qemu-devel] [PATCH 4/5] checkpatch: bump most warnings to errors
Quoted 17 lines
Quoted 17 lines
Quoted 16 lines
scripts/checkpatch.pl sub process { · line 1294
Quoted 12 lines
scripts/checkpatch.pl +1
-1@@ -1289,11 +1289,11 @@ sub process { # This is a signoff, if ugly, so do not double report. $signoff++; if (!($line =~ /^\s*Signed-off-by:/)) { - WARN("Signed-off-by: is the preferred form\n" . + ERROR("Signed-off-by: is the preferred form\n" . $herecurr); }If you turn this into an ERROR, it's not the "preferred form" anymore, but the "mandated form". So I'd suggest to either keep it as WARN or to rephrase the message.
Quoted 8 lines
Quoted 5 lines
What about:
ERROR("Signed-off-by: is spelled with uppercase \"s\"\n" . $herecurr);That would still be confusing if I'd spell it like "Signed-Off-BY", for example.
Right, so I guess "The correct form is \"Signed-off-by\"\n" is more precise.
Quoted 2 lines
Maybe the outer check should simply not be case-insensitive, then you could remove this check here completely?
The reason for that is to hide the "Missing Signed-off-by: line(s)" error. See here:
# This is a signoff, if ugly, so do not double report. $signoff++;
...
if ($is_patch && $chk_signoff && $signoff == 0) {
ERROR("Missing Signed-off-by: line(s)\n");
}Thanks,
Paolo
Re: [Qemu-devel] [PATCH 4/5] checkpatch: bump most warnings to errors
Quoted 23 lines · Paolo Bonzini
Quoted 23 lines
Quoted 22 lines
Quoted 8 lines
Quoted 8 lines
scripts/checkpatch.pl +0
-0@@ -1289,11 +1289,11 @@ sub process { # This is a signoff, if ugly, so do not double report. $signoff++; if (!($line =~ /^\s*Signed-off-by:/)) {Quoted 8 lines
scripts/checkpatch.pl sub process { · line 1294
Quoted 4 lines
scripts/checkpatch.pl +1
-1- WARN("Signed-off-by: is the preferred form\n" . + ERROR("Signed-off-by: is the preferred form\n" . $herecurr); }If you turn this into an ERROR, it's not the "preferred form" anymore, but the "mandated form". So I'd suggest to either keep it as WARN or to rephrase the message.
What about:
ERROR("Signed-off-by: is spelled with uppercase \"s\"\n" . $herecurr);
Quoted 5 lines
Quoted 2 lines
That would still be confusing if I'd spell it like "Signed-Off-BY", for example.
Right, so I guess "The correct form is \"Signed-off-by\"\n" is more precise.
Yes, that sounds better.
Quoted 6 lines
Quoted 2 lines
Maybe the outer check should simply not be case-insensitive, then you could remove this check here completely?
The reason for that is to hide the "Missing Signed-off-by: line(s)" error. See here:
Quoted 6 lines
# This is a signoff, if ugly, so do not double report. $signoff++;
...if ($is_patch && $chk_signoff && $signoff == 0) { ERROR("Missing Signed-off-by: line(s)\n"); }
Sure, but I think that error would be OK, too, since most people should be able to figure out that they spelled "signed-off-by" in a bad way when they get a "Missing Signed-off-by: line" error.
Thomas
PATCH v2 5/5 checkpatch: default to success if only warnings
In reply to Paolo BonziniCHK-level checks have been removed from checkpatch or bumped to errors, so there is no effect anymore for --strict/--subjective. Furthermore, even most WARNs have been bumped to errors, with WARN only reserved to things that patchew probably ought not to complain about (and that maintainers probably will notice anyway during review if they are extreme).
Default to exiting with success even if there are WARN-level failures, and cause --strict to fail for warnings. Maintainers that want to have a strict 80-character limit for their subsystem can add it to a commit hook for example.
The --subjective synonym is removed.
--- scripts/checkpatch.pl | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-)
scripts/checkpatch.pl +4 -12
@@ -22,7 +22,7 @@ my $tst_only; my $emacs = 0; my $terse = 0; my $file = 0; -my $check = 0; +my $no_warnings = 0; my $summary = 1; my $mailback = 0; my $summary_file = 0;
@@ -45,7 +45,7 @@ Options: --emacs emacs compile window format --terse one line per report -f, --file treat FILE as regular source file - --subjective, --strict enable more subjective tests + --strict fail if only warnings are found --root=PATH PATH to the kernel tree root --no-summary suppress the per-file summary --mailback only produce a report in case of warnings/errors
@@ -71,8 +71,7 @@ GetOptions( 'emacs!' => \$emacs, 'terse!' => \$terse, 'f|file!' => \$file, - 'subjective!' => \$check, - 'strict!' => \$check, + 'strict!' => \$no_warnings, 'root=s' => \$root, 'summary!' => \$summary, 'mailback!' => \$mailback,
@@ -1072,12 +1071,6 @@ sub WARN { our $cnt_warn++; } } -sub CHK { - if ($check && report("CHECK: $_[0]\n")) { - our $clean = 0; - our $cnt_chk++; - } -} sub process { my $filename = shift;
@@ -2599,7 +2592,6 @@ sub process { if ($summary && !($clean == 1 && $quiet == 1)) { print "$filename " if ($summary_file); print "total: $cnt_error errors, $cnt_warn warnings, " . - (($check)? "$cnt_chk checks, " : "") . "$cnt_lines lines checked\n"; print "\n" if ($quiet == 0); }
@@ -2622,5 +2614,5 @@ sub process { print "CHECKPATCH in MAINTAINERS.\n"; } - return $clean; + return ($no_warnings ? $clean : $cnt_error == 0); }
Signature · 1 line
1.8.3.1
Quoted 6 lines · Paolo Bonzini
My proposal after having watched patchew complain for a couple days about patches being sent on the list; amended after observations from reviewers.
v1->v2: perform more checks on all sources (patch 2)
revive patch to update line length rules (patch 3)
Series
Your series failed automatic build test. Please find the testing commands and their output below. If you have docker installed, you can probably reproduce it locally.
Hi,
Your series failed automatic build test. Please find the testing commands and their output below. If you have docker installed, you can probably reproduce it locally.
Subject: [Qemu-devel] [PATCH v2 0/5] checkpatch tweaks
Message-id: [email protected]
Type: series
=== TEST SCRIPT BEGIN ===
#!/bin/bash
set -e
git submodule update --init dtc
make J=8 docker-test-quick@centos6
# we need CURL DPRINTF patch # http://patchew.org/QEMU/1470027888-24381-1-git-send-email-famz%40redhat.com/ #make J=8 docker-test-mingw@fedora === TEST SCRIPT END ===
Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
From https://github.com/patchew-project/qemu
* [new branch] master -> master * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] 20160628123734.500a3114@fiorina -> 20160628123734.500a3114@fiorina * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] 20160708131809.07a8e7dc@fiorina -> 20160708131809.07a8e7dc@fiorina * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] 576786e68176302163d09977c6c8c3eb6d7a8ee5.1466771151.git.atar4qemu@gmail.com -> 576786e68176302163d09977c6c8c3eb6d7a8ee5.1466771151.git.atar4qemu@gmail.com * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] [email protected] -> [email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/20160809160703.GA10637@potion -> patchew/20160809160703.GA10637@potion * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/24044757332cd427e378053739e6f49980e0ac5d.1470392366.git.lv.zheng@intel.com -> patchew/24044757332cd427e378053739e6f49980e0ac5d.1470392366.git.lv.zheng@intel.com * [new tag] patchew/409b2bbd046a53987a71e64d855e5761d441bbaf.1470641265.git.lv.zheng@intel.com -> patchew/409b2bbd046a53987a71e64d855e5761d441bbaf.1470641265.git.lv.zheng@intel.com * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/5d4b5e6b17eadf92b61e9ef6f3118f7658bb99d0.1470641028.git.lv.zheng@intel.com -> patchew/5d4b5e6b17eadf92b61e9ef6f3118f7658bb99d0.1470641028.git.lv.zheng@intel.com * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/CADyN2VyWDKGgg-VQFtDnVLP2Bu1e=DoOQhNYiR1yEoDrS4mwgw@mail.gmail.com -> patchew/CADyN2VyWDKGgg-VQFtDnVLP2Bu1e=DoOQhNYiR1yEoDrS4mwgw@mail.gmail.com * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/a0a25b78b9a593b7cf3c73b54342ee9b331688da.1470643610.git.lv.zheng@intel.com -> patchew/a0a25b78b9a593b7cf3c73b54342ee9b331688da.1470643610.git.lv.zheng@intel.com * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected]
Switched to a new branch 'test'
c4d842b checkpatch: default to success if only warnings 51a3cf7 checkpatch: bump most warnings to errors f309450 CODING_STYLE, checkpatch: update line length rules 3942f8e checkpatch: check for CVS keywords on all sources 7cde082 checkpatch: tweak the files in which TABs are checked
=== OUTPUT BEGIN ===
Submodule 'dtc' (git://git.qemu-project.org/dtc.git) registered for path 'dtc' Cloning into 'dtc'...
Submodule path 'dtc': checked out '65cc4d2748a2c2e6f27f1cf39e07a5dbabd80ebf'
BUILD centos6
ARCHIVE qemu.tgz
ARCHIVE dtc.tgz
COPY RUNNER
RUN test-quick in centos6
Traceback (most recent call last):
File "./tests/docker/docker.py", line 335, in <module>
sys.exit(main())
File "./tests/docker/docker.py", line 332, in main
return args.cmdobj.run(args, argv)
File "./tests/docker/docker.py", line 209, in run
return Docker().run(argv, args.keep, quiet=args.quiet)
File "./tests/docker/docker.py", line 177, in run
quiet=quiet)
File "./tests/docker/docker.py", line 104, in _do
return subprocess.call(self._command + cmd, **kwargs)
File "/usr/lib64/python2.7/subprocess.py", line 523, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib64/python2.7/subprocess.py", line 1392, in wait
pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0)
File "/usr/lib64/python2.7/subprocess.py", line 476, in _eintr_retry_call
return func(*args)
KeyboardInterrupt
Traceback (most recent call last):
File "/usr/bin/patchew", line 423, in test_one
time.sleep(0.1)
KeyboardInterrupt
---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to [email protected]
Quoted 12 lines · On Wed, 08/10 16:56, [email protected] wrote:
=== OUTPUT BEGIN ===
Submodule 'dtc' (git://git.qemu-project.org/dtc.git) registered for path 'dtc' Cloning into 'dtc'...
Submodule path 'dtc': checked out '65cc4d2748a2c2e6f27f1cf39e07a5dbabd80ebf'
BUILD centos6
ARCHIVE qemu.tgz
ARCHIVE dtc.tgz
COPY RUNNER
RUN test-quick in centos6
Traceback (most recent call last):
File "./tests/docker/docker.py", line 335, in <module>sys.exit(main())
Quoted 14 lines
File "
./tests/docker/docker.py", line 332, in main
returnargs.cmdobj.run(args, argv)
File "./tests/docker/docker.py", line 209, in run
return Docker().run(argv, args.keep, quiet=args.quiet)
File "./tests/docker/docker.py", line 177, in run
quiet=quiet)
File "./tests/docker/docker.py", line 104, in_do
returnsubprocess.call(self._command + cmd, **kwargs)
File "/usr/lib64/python2.7/subprocess.py", line 523, in call
returnPopen(*popenargs, **kwargs).wait()
File "/usr/lib64/python2.7/subprocess.py", line 1392, in wait
pid, sts =_eintr_retry_call(os.waitpid, self.pid, 0)
File "/usr/lib64/python2.7/subprocess.py", line 476, in_eintr_retry_call
returnfunc(*args)
Patchew is experiencing some exceptions and this is noise made out of the debugging process. Sorry!
Fam
Your series seems to have some coding style problems. See output below for more information:
Hi,
Your series seems to have some coding style problems. See output below for more information:
Type: series
Message-id: [email protected]
Subject: [Qemu-devel] [PATCH v2 0/5] checkpatch tweaks
=== TEST SCRIPT BEGIN ===
#!/bin/bash
BASE=base
n=1
total=$(git log --oneline $BASE.. | wc -l)
failed=0
commits="$(git log --format=%H --reverse $BASE..)" for c in $commits; do
echo "Checking PATCH $n/$total: $(git show --no-patch --format=%s $c)..."
if ! git show $c --format=email | ./scripts/checkpatch.pl --mailback -; then
failed=1
echo
fi
n=$((n+1))done
exit $failed
=== TEST SCRIPT END ===
Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
From https://github.com/patchew-project/qemu
* [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected]
Switched to a new branch 'test'
c4d842b checkpatch: default to success if only warnings 51a3cf7 checkpatch: bump most warnings to errors f309450 CODING_STYLE, checkpatch: update line length rules 3942f8e checkpatch: check for CVS keywords on all sources 7cde082 checkpatch: tweak the files in which TABs are checked
=== OUTPUT BEGIN ===
Checking PATCH 1/5: checkpatch: tweak the files in which TABs are checked...
WARNING: line over 80 characters
#34: FILE: scripts/checkpatch.pl:1357:
+ next if ($realfile =~ /(checkpatch|get_maintainer|texi2pod)\.pl$/);
total: 0 errors, 1 warnings, 22 lines checked
Your patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS.
Checking PATCH 2/5: checkpatch: check for CVS keywords on all sources...
ERROR: line over 90 characters
#23: FILE: scripts/checkpatch.pl:1356:
+ WARN("CVS style keyword markers, these will _not_ be updated\n". $herecurr);
total: 1 errors, 0 warnings, 22 lines checked
Your patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS.
Checking PATCH 3/5: CODING_STYLE, checkpatch: update line length rules... Checking PATCH 4/5: checkpatch: bump most warnings to errors...
ERROR: line over 90 characters
#38: FILE: scripts/checkpatch.pl:1350:
+ ERROR("unnecessary whitespace before a quoted newline\n" . $herecurr);
ERROR: line over 90 characters
#44: FILE: scripts/checkpatch.pl:1355:
+ ERROR("adding a line without newline at end of file\n" . $herecurr);
ERROR: line over 90 characters
#50: FILE: scripts/checkpatch.pl:1360:
+ ERROR("CVS style keyword markers, these will _not_ be updated\n". $herecurr);
ERROR: line over 90 characters
#59: FILE: scripts/checkpatch.pl:1506:
+ ERROR("trailing semicolon indicates no statements, indent implies otherwise\n" .
ERROR: line over 90 characters
#68: FILE: scripts/checkpatch.pl:1594:
+ ERROR("suspect code indent for conditional statements ($indent, $sindent)\n" . $herecurr . "$stat_real\n");
ERROR: line over 90 characters
#77: FILE: scripts/checkpatch.pl:1772:
+ ERROR("space prohibited between function name and open parenthesis '('\n" . $herecurr);
ERROR: line over 90 characters
#86: FILE: scripts/checkpatch.pl:2011:
+ ERROR("return of an errno should typically be -ve (return -$1)\n" . $herecurr);
ERROR: line over 90 characters
#95: FILE: scripts/checkpatch.pl:2083:
+ ERROR("boolean test with hexadecimal, perhaps just 1 \& or \|?\n" . $herecurr);
ERROR: line over 90 characters
#104: FILE: scripts/checkpatch.pl:2139:
+ ERROR("Whitespace after \\ makes next lines useless\n" . $herecurr);
ERROR: line over 90 characters
#113: FILE: scripts/checkpatch.pl:2291:
+ ERROR("braces {} are necessary for all arms of this statement\n" . $herectx);
ERROR: line over 90 characters
#122: FILE: scripts/checkpatch.pl:2359:
+ ERROR("braces {} are necessary even for single statement blocks\n" . $herectx);
ERROR: line over 90 characters
#130: FILE: scripts/checkpatch.pl:2366:
+ ERROR("Use of volatile is usually wrong: see Documentation/volatile-considered-harmful.txt\n" . $herecurr);
WARNING: line over 80 characters
#136: FILE: scripts/checkpatch.pl:2371:
+ ERROR("if this code is redundant consider removing it\n" .
ERROR: line over 90 characters
#145: FILE: scripts/checkpatch.pl:2379:
+ ERROR("g_free(NULL) is safe this check is probably not required\n" . $hereprev);
WARNING: line over 80 characters
#154: FILE: scripts/checkpatch.pl:2397:
+ ERROR("memory barrier without comment\n" . $herecurr);
ERROR: line over 90 characters
#162: FILE: scripts/checkpatch.pl:2404:
+ ERROR("architecture specific defines should be avoided\n" . $herecurr);
ERROR: line over 90 characters
#168: FILE: scripts/checkpatch.pl:2409:
+ ERROR("storage class should be at the beginning of the declaration\n" . $herecurr)
ERROR: line over 90 characters
#186: FILE: scripts/checkpatch.pl:2438:
+ ERROR("externs should be avoided in .c files\n" . $herecurr);
ERROR: line over 90 characters
#191: FILE: scripts/checkpatch.pl:2442:
+ ERROR("arguments for function declarations should follow identifier\n" . $herecurr);
WARNING: line over 80 characters
#198: FILE: scripts/checkpatch.pl:2448:
+ ERROR("externs should be avoided in .c files\n" . $herecurr);
ERROR: line over 90 characters
#205: FILE: scripts/checkpatch.pl:2454:
+ ERROR("unnecessary cast may hide bugs, use g_$1new$3 instead\n" . $herecurr);
ERROR: line over 90 characters
#208: FILE: scripts/checkpatch.pl:2456:
+ ERROR("unnecessary cast may hide bugs, use g_$1renew$3 instead\n" . $herecurr);
ERROR: line over 90 characters
#215: FILE: scripts/checkpatch.pl:2462:
+ ERROR("__func__ should be used instead of gcc specific __FUNCTION__\n" . $herecurr);
WARNING: line over 80 characters
#221: FILE: scripts/checkpatch.pl:2467:
+ ERROR("consider using qemu_$1 in preference to $1\n" . $herecurr);
ERROR: line over 90 characters
#226: FILE: scripts/checkpatch.pl:2471:
+ ERROR("please use block_init(), type_init() etc. instead of module_init()\n" . $herecurr);
ERROR: line over 90 characters
#244: FILE: scripts/checkpatch.pl:2506:
+ ERROR("\%Ld/%Lu are not-standard C, use %lld/%llu\n" . $herecurr);
WARNING: line over 80 characters
#261: FILE: scripts/checkpatch.pl:2530:
+ ERROR("Error messages should not contain newlines\n" . $herecurr);
WARNING: line over 80 characters
#270: FILE: scripts/checkpatch.pl:2551:
+ ERROR("Error messages should not contain newlines\n" . $herecurr);
total: 22 errors, 6 warnings, 237 lines checked
Your patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS.
Checking PATCH 5/5: checkpatch: default to success if only warnings... === OUTPUT END ===
Test command exited with code: 1
---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to [email protected]