From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8JVN-00073M-01 for qemu-devel@nongnu.org; Sun, 02 Sep 2012 19:23:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8JVM-00062p-7F for qemu-devel@nongnu.org; Sun, 02 Sep 2012 19:23:00 -0400 Received: from hub021-nj-6.exch021.serverdata.net ([206.225.164.222]:65509) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8JVM-00062j-3W for qemu-devel@nongnu.org; Sun, 02 Sep 2012 19:23:00 -0400 From: Don Slutz Date: Sun, 2 Sep 2012 19:22:34 -0400 Message-ID: <1346628158-30403-1-git-send-email-Don@CloudSwitch.com> In-Reply-To: <1346515062-13067-1-git-send-email-Don@CloudSwitch.com> References: <1346515062-13067-1-git-send-email-Don@CloudSwitch.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH v2 0/4] CHECKPATCH: Add warning for single else statement. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, blauwirbel@gmail.comqemu-devel@nongnu.orgblauwirbel@gmail.com Cc: Don Slutz 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(-)