Coccinelle: Fix documentation
A file used as example has been moved elsewhere. Update the documentation accordingly Signed-off-by: Nicolas Palix <npalix.work@gmail.com> Reported-by: Julia Lawall <julia@diku.dk> Signed-off-by: Michal Marek <mmarek@suse.cz>
This commit is contained in:
committed by
Michal Marek
parent
97c1cf8fdb
commit
9dcf7990c2
@@ -139,7 +139,7 @@ Example:
|
|||||||
|
|
||||||
Running
|
Running
|
||||||
|
|
||||||
make coccicheck MODE=report COCCI=scripts/coccinelle/err_cast.cocci
|
make coccicheck MODE=report COCCI=scripts/coccinelle/api/err_cast.cocci
|
||||||
|
|
||||||
will execute the following part of the SmPL script.
|
will execute the following part of the SmPL script.
|
||||||
|
|
||||||
@@ -177,7 +177,7 @@ identified.
|
|||||||
Example:
|
Example:
|
||||||
|
|
||||||
Running
|
Running
|
||||||
make coccicheck MODE=patch COCCI=scripts/coccinelle/err_cast.cocci
|
make coccicheck MODE=patch COCCI=scripts/coccinelle/api/err_cast.cocci
|
||||||
|
|
||||||
will execute the following part of the SmPL script.
|
will execute the following part of the SmPL script.
|
||||||
|
|
||||||
@@ -221,7 +221,7 @@ NOTE: The diff-like output generated is NOT an applicable patch. The
|
|||||||
Example:
|
Example:
|
||||||
|
|
||||||
Running
|
Running
|
||||||
make coccicheck MODE=context COCCI=scripts/coccinelle/err_cast.cocci
|
make coccicheck MODE=context COCCI=scripts/coccinelle/api/err_cast.cocci
|
||||||
|
|
||||||
will execute the following part of the SmPL script.
|
will execute the following part of the SmPL script.
|
||||||
|
|
||||||
@@ -256,7 +256,7 @@ diff -u -p /home/user/linux/crypto/ctr.c /tmp/nothing
|
|||||||
Example:
|
Example:
|
||||||
|
|
||||||
Running
|
Running
|
||||||
make coccicheck MODE=org COCCI=scripts/coccinelle/err_cast.cocci
|
make coccicheck MODE=org COCCI=scripts/coccinelle/api/err_cast.cocci
|
||||||
|
|
||||||
will execute the following part of the SmPL script.
|
will execute the following part of the SmPL script.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user