forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 140
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Coccinelle is an extremely useful tool to detect conceptual errors or bad programming.
In 30mn it found one memory leak issue and one useless function, see #453
let's add it to the CI (both Travis and Intel). Coccinelle version 1.0.7 is needed and may need to be build from code. It's easy to create a new Debian package
apt-get build-dep coccinelle
git clone https://github.com/coccinelle/coccinelle.git
cd coccinelle
git checkout 1.0.7
./autogen.sh
./configure
make -j4
make install (or create .deb)
https://bottest.wiki.kernel.org/coccicheck
for CI, let's use this command line
make coccicheck MODE=report M=sound/soc/sof
Same as for Sparse, we only need to check SOF, not solve world hunger.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request