2020-08-05 08:58:50

by Sumera Priyadarsini

[permalink] [raw]
Subject: [PATCH v2] scripts: coccicheck: Add chain mode to list of modes

This patch adds chain mode to the list of available modes in coccicheck.

Signed-off-by: Sumera Priyadarsini <[email protected]>
---
Changes in v2:
- Change coccinelle to coccicheck as suggested by Julia Lawall.
---
scripts/coccicheck | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/coccicheck b/scripts/coccicheck
index e04d328210ac..6e37cf36caae 100755
--- a/scripts/coccicheck
+++ b/scripts/coccicheck
@@ -99,7 +99,7 @@ fi
if [ "$MODE" = "" ] ; then
if [ "$ONLINE" = "0" ] ; then
echo 'You have not explicitly specified the mode to use. Using default "report" mode.'
- echo 'Available modes are the following: patch, report, context, org'
+ echo 'Available modes are the following: patch, report, context, org, chain'
echo 'You can specify the mode with "make coccicheck MODE=<mode>"'
echo 'Note however that some modes are not implemented by some semantic patches.'
fi
--
2.17.1


2020-08-05 20:17:19

by Julia Lawall

[permalink] [raw]
Subject: Re: [Cocci] [PATCH v2] scripts: coccicheck: Add chain mode to list of modes



On Wed, 5 Aug 2020, Sumera Priyadarsini wrote:

> This patch adds chain mode to the list of available modes in coccicheck.

Applied, Thanks!

julia

>
> Signed-off-by: Sumera Priyadarsini <[email protected]>
> ---
> Changes in v2:
> - Change coccinelle to coccicheck as suggested by Julia Lawall.
> ---
> scripts/coccicheck | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/coccicheck b/scripts/coccicheck
> index e04d328210ac..6e37cf36caae 100755
> --- a/scripts/coccicheck
> +++ b/scripts/coccicheck
> @@ -99,7 +99,7 @@ fi
> if [ "$MODE" = "" ] ; then
> if [ "$ONLINE" = "0" ] ; then
> echo 'You have not explicitly specified the mode to use. Using default "report" mode.'
> - echo 'Available modes are the following: patch, report, context, org'
> + echo 'Available modes are the following: patch, report, context, org, chain'
> echo 'You can specify the mode with "make coccicheck MODE=<mode>"'
> echo 'Note however that some modes are not implemented by some semantic patches.'
> fi
> --
> 2.17.1
>
> _______________________________________________
> Cocci mailing list
> [email protected]
> https://systeme.lip6.fr/mailman/listinfo/cocci
>