qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 0/4] CHECKPATCH: Add warning for single else stat


From: Don Slutz
Subject: [Qemu-devel] [PATCH v2 0/4] CHECKPATCH: Add warning for single else statement.
Date: Sun, 2 Sep 2012 19:22:34 -0400

Also add more debug options to find this issue.  They were not listed
in the help because the are not simple to understand the output of.

Using:

  rm zz;
  for k in 0 1 2 3; do
   for i in 0 1 2 3 4 5 6 7 8 9; do
    for j in 0 1 2 3 4 5 6 7 8 9; do
     echo $k$i$j;
     git show HEAD~$k$i$j >/tmp/a;
     head -1 /tmp/a >>zz;
     ./scripts/checkpatch.pl --root=. /tmp/a >>zz;
    done;
   done;
  done

With both the new and old versions that the same warnigns and errors were 
reported.

Don Slutz (4):
  CHECKPATCH: Add --debug adv_dcs
  CHECKPATCH: Add --debug adv_checking
  CHECKPATCH: Add --debug adv_apw
  CHECKPATCH: Add warning for single else statement.

 scripts/checkpatch.pl |   68 ++++++++++++++++++++++++++++++++----------------
 1 files changed, 45 insertions(+), 23 deletions(-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]