[asterisk-bugs] [DAHDI-linux 0013763]: [patch] warnings from sparse

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 22 10:20:53 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13763 
====================================================================== 
Reported By:                tzafrir
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   13763
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2008-10-22 07:53 CDT
Last Modified:              2008-10-22 10:20 CDT
====================================================================== 
Summary:                    [patch] warnings from sparse
Description: 
sparse is a static code parser written by Linus Torvalds mainly for usage
with the kernel code. It can be found in
http://www.kernel.org/pub/software/devel/sparse/ and is packaged with some
distributions (in Debian: under non-free).

To check a kernel code with sparse, run either:

  make C=1 # test only newer code that is being compiled

or:
  
  make C=2 # test everything that can be built

The attached sparse_log is a log for building dahdi-linux r5118 with 'make
C=2'

Right now the number of warnings and errors is:

$ egrep ' (warning|error):' sparse_log | wc -l
397

Also included is a patch that demonstrates fixing some of the simpler and
more common issues ('static' and 'C99 initializor') in some of the modules.
====================================================================== 

---------------------------------------------------------------------- 
 (0094140) blitzrage (administrator) - 2008-10-22 10:20
 http://bugs.digium.com/view.php?id=13763#c94140 
---------------------------------------------------------------------- 
Just wanted to send a reminder to Kevin so he can review this as it looks
like something he will be best to comment on. I'm trying not to assign
things to Kevin due to his work load, but wanted to point this one out
specifically. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-22 10:20 blitzrage      Issue Monitored: kpfleming                    
2008-10-22 10:20 blitzrage      Note Added: 0094140                          
======================================================================




More information about the asterisk-bugs mailing list