[asterisk-dev] testing zaptel with sparse

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Apr 16 11:39:53 CDT 2008


Hi

sparse is a semantic parser of C source, written for use in the Linux
kernel.

It is available with several distributions (in Debian it is available in
Lenny, but is in non-free), and probably shouldn't be too big a deal to
build from source:

  http://kernel.org/pub/software/devel/sparse/

To test Zaptel with it, use:

  # to check just for newly-built modules:
  KBUILD_CHECKSRC=1 make modules

  # To check all of them:
  KBUILD_CHECKSRC=2 make modules

At this stage it gives many warnings all over the place and most of them
are probably trivial or non-issues. Still, it would probably be useful.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-dev mailing list