Commit 9dcf7990 authored by Nicolas Palix's avatar Nicolas Palix Committed by Michal Marek

Coccinelle: Fix documentation

A file used as example has been moved elsewhere.
Update the documentation accordingly
Signed-off-by: default avatarNicolas Palix <npalix.work@gmail.com>
Reported-by: default avatarJulia Lawall <julia@diku.dk>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent 97c1cf8f
...@@ -139,7 +139,7 @@ Example: ...@@ -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. ...@@ -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 ...@@ -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 ...@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment