<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/scripts/coccicheck, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2017-11-21T01:18:38Z</updated>
<entry>
<title>Makefile: add coccicheck target</title>
<updated>2017-11-21T01:18:38Z</updated>
<author>
<name>Heinrich Schuchardt</name>
</author>
<published>2017-11-19T13:33:14Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=8a28caf02b7763f3d0b3813805ecd3ede0589c73'/>
<id>urn:sha1:8a28caf02b7763f3d0b3813805ecd3ede0589c73</id>
<content type='text'>
Coccinelle is a program for static code analysis.
For details on Coccinelle see

	http://coccinelle.lip6.fr/

Add scripts/coccicheck copied from Linux kernel v4.14.

The coccicheck script executes the tests *.cocci in
directory scripts/coccinelle by calling spatch.

In Makefile add a coccicheck target. You can use it with

	make coccicheck MODE=&lt;mode&gt;

	where mode in patch, report, context, org.

Add a copy of Linux v4.14 file Documentation/dev-tools/coccinelle.rst
as doc/README.coccinelle.

Cc: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
</content>
</entry>
</feed>
