[asterisk-bugs] [DAHDI-linux 0016191]: [patch] if, for, while, switch statements all missing space, - Coding guidelines

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Nov 6 14:45:34 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16191 
====================================================================== 
Reported By:                alecdavis
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   16191
Category:                   General
Reproducibility:            N/A
Severity:                   text
Priority:                   normal
Status:                     confirmed
JIRA:                        
Reviewboard Link:            
====================================================================== 
Date Submitted:             2009-11-06 02:03 CST
Last Modified:              2009-11-06 14:45 CST
====================================================================== 
Summary:                    [patch] if, for, while, switch statements all
missing space, - Coding guidelines
Description: 
Global change for all *.c and *.h files under the dahdi-linux tree where
whole word matches any of the following.
'if(', 'for(', 'while(' or 'switch(' 

no functional changes
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0016189 [patch] if, for, while, switch statemen...
====================================================================== 

---------------------------------------------------------------------- 
 (0113342) tzafrir (manager) - 2009-11-06 14:45
 https://issues.asterisk.org/view.php?id=16191#c113342 
---------------------------------------------------------------------- 
Note that The coding guidelines in question are
http://kernel.org/doc/Documentation/CodingStyle

I just tried

  ~/Proj/Kernel/linux-2.6/scripts/checkpatch.pl --file --no-tree
drivers/dahdi/dahdi-base.c

and got a long report containing:

  total: 907 errors, 840 warnings, 8475 lines checked 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-06 14:45 tzafrir        Note Added: 0113342                          
======================================================================




More information about the asterisk-bugs mailing list