[U-Boot] [U-Boot,v2,1/1] Makefile: add coccicheck target

Tom Rini trini at konsulko.com
Tue Nov 21 13:06:15 UTC 2017


On Sun, Nov 19, 2017 at 02:33:14PM +0100, Heinrich Schuchardt wrote:

> 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=<mode>
> 
> 	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 <sjg at chromium.org>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171121/b34e4738/attachment.sig>


More information about the U-Boot mailing list