This is an automated email from Gerrit.

Spencer Oliver ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/429

-- gerrit

commit 9542f9bd068d7aad744f6b6de74d78ae9cacce7a
Author: Spencer Oliver <[email protected]>
Date:   Sun Feb 5 11:33:10 2012 +0000

    checkpatch: temporarily remove multistatement macro checks
    
    DWT_COMPARATOR in cortex_m.c causes the issue.
    This patch will not be merged - only used to get the above file through
    the checkpatch tests.
    
    Change-Id: I6da33326364f89a1621cba42eaeb281ff7dd8f54
    Signed-off-by: Spencer Oliver <[email protected]>

diff --git a/tools/scripts/checkpatch.pl b/tools/scripts/checkpatch.pl
index 7a328aa..e4a9c42 100755
--- a/tools/scripts/checkpatch.pl
+++ b/tools/scripts/checkpatch.pl
@@ -2812,8 +2812,8 @@ sub process {
                                if ($rest !~ /while\s*\(/ &&
                                    $dstat !~ /$exceptions/)
                                {
-                                       
ERROR("MULTISTATEMENT_MACRO_USE_DO_WHILE",
-                                             "Macros with multiple statements 
should be enclosed in a do - while loop\n" . "$here\n$ctx\n");
+#                                      
ERROR("MULTISTATEMENT_MACRO_USE_DO_WHILE",
+#                                            "Macros with multiple statements 
should be enclosed in a do - while loop\n" . "$here\n$ctx\n");
                                }
 
                        } elsif ($ctx !~ /;/) {

-- 

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to