Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -139,7 +139,7 @@ Example:

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.

@@ -177,7 +177,7 @@ identified.
Example:

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.

@@ -221,7 +221,7 @@ NOTE: The diff-like output generated is NOT an applicable patch. The
Example:

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.

@@ -256,7 +256,7 @@ diff -u -p /home/user/linux/crypto/ctr.c /tmp/nothing
Example:

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.