From: Nicolas Palix Date: Sun, 13 Jun 2010 07:26:34 +0000 (+0200) Subject: Add support for the C variable in the coccicheck script X-Git-Tag: v2.6.36-rc1~545^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e9dea2a60b71ea7a9ac2936bed920d39f662e52;p=pandora-kernel.git Add support for the C variable in the coccicheck script This patch makes it possible to use the Coccinelle checker with the C variable of the build system. To check only newly edited code, the following command may be used: 'make C={1,2} CHECK="scripts/coccicheck"' This runs every semantic patch in scripts/coccinelle by default. The COCCI variable may additionally be used to only apply a single semantic patch. Signed-off-by: Nicolas Palix Signed-off-by: Julia Lawall Signed-off-by: Michal Marek --- Reading git-diff-tree failed