Dan Carpenter had recommended I use smatch to pick up more small warnings. It is like Sparse.

How to get and use Smatch:

git clone git://repo.or.cz/smatch.git
cd smatch
cd ~/kernel/src/
~/smatch/smatch_scripts/kchecker drivers/staging/dgnc/dgnc_tty.c

I’m still working on the warnings caught by this program. >_<

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Post Navigation