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