From: Tom Rini Date: Tue, 21 Nov 2017 08:06:15 -0500 Subject: [U-Boot] [U-Boot,v2,1/1] Makefile: add coccicheck target In-Reply-To: <20171119133314.12530-1-xypron.glpk@gmx.de> References: <20171119133314.12530-1-xypron.glpk@gmx.de> Message-ID: <20171121130615.GL10194@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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= > > 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 > Signed-off-by: Heinrich Schuchardt 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: