[Ksummit-discuss] coverity, static checking etc.
Johannes Berg
johannes at sipsolutions.net
Wed May 14 13:32:43 UTC 2014
On Mon, 2014-05-12 at 11:32 +0200, Wolfram Sang wrote:
> > is sent. Why not just tell them run this in-kernel tool with all
> > that checking enabled before you send the patch?
>
> make C=1 ? That could be perhaps updated to call sparse *and* smatch if
> it finds them installed.
I do that with a simple wrapper:
~/bin/sparse:
#!/bin/sh
/path/to/real/sparse "$@" || exit 100
/path/to/smatch -p=kernel "$@" || exit 200
but integrating it would be better :)
johannes
More information about the Ksummit-discuss
mailing list