]> Git Repo - linux.git/commit - scripts/coccicheck
Add support for the C variable in the coccicheck script
authorNicolas Palix <[email protected]>
Sun, 13 Jun 2010 07:26:34 +0000 (09:26 +0200)
committerMichal Marek <[email protected]>
Mon, 28 Jun 2010 14:44:53 +0000 (16:44 +0200)
commit1e9dea2a60b71ea7a9ac2936bed920d39f662e52
treedf3696ae510c2e4edbc80123dbd73abbc7169c28
parent6ff21517c001f38b02393ad9dc92decbaee209fa
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 <[email protected]>
Signed-off-by: Julia Lawall <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
scripts/coccicheck
This page took 0.052427 seconds and 4 git commands to generate.