[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <43395d84-b94f-1d12-bfd5-8924996d7110@imag.fr>
Date: Tue, 21 Jun 2016 22:34:30 +0200
From: "Nicolas Palix (LIG)" <Nicolas.Palix@...g.fr>
To: "Luis R. Rodriguez" <mcgrof@...nel.org>, Julia.Lawall@...6.fr,
Gilles.Muller@...6.fr, mmarek@...e.com
Cc: linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
gregkh@...uxfoundation.org, markivx@...eaurora.org,
stephen.boyd@...aro.org, zohar@...ux.vnet.ibm.com,
broonie@...nel.org, ming.lei@...onical.com, tiwai@...e.de,
johannes@...solutions.net, chunkeey@...glemail.com,
hauke@...ke-m.de, jwboyer@...oraproject.org,
dmitry.torokhov@...il.com, dwmw2@...radead.org, jslaby@...e.com,
torvalds@...ux-foundation.org, deepa.kernel@...il.com,
cocci@...teme.lip6.fr
Subject: Re: [PATCH v3 1/8] coccicheck: move spatch binary check up
Le 21/06/16 à 21:21, Luis R. Rodriguez a écrit :
> This has no functional changes. This is being done
> to enable us to later use spatch binary for some
> flag checking for certain features early on.
>
> Signed-off-by: Luis R. Rodriguez <mcgrof@...nel.org>
Acked-by: Nicolas Palix <nicolas.palix@...g.fr>
> ---
> scripts/coccicheck | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/scripts/coccicheck b/scripts/coccicheck
> index f6627863fdc3..f137b04dfdd3 100755
> --- a/scripts/coccicheck
> +++ b/scripts/coccicheck
> @@ -7,6 +7,11 @@
>
> SPATCH="`which ${SPATCH:=spatch}`"
>
> +if [ ! -x "$SPATCH" ]; then
> + echo 'spatch is part of the Coccinelle project and is available at http://coccinelle.lip6.fr/'
> + exit 1
> +fi
> +
> trap kill_running SIGTERM SIGINT
> declare -a SPATCH_PID
>
> @@ -51,11 +56,6 @@ if [ "$KBUILD_EXTMOD" != "" ] ; then
> OPTIONS="--patch $srctree $OPTIONS"
> fi
>
> -if [ ! -x "$SPATCH" ]; then
> - echo 'spatch is part of the Coccinelle project and is available at http://coccinelle.lip6.fr/'
> - exit 1
> -fi
> -
> if [ "$MODE" = "" ] ; then
> if [ "$ONLINE" = "0" ] ; then
> echo 'You have not explicitly specified the mode to use. Using default "report" mode.'
>
--
Nicolas Palix
http://lig-membres.imag.fr/palix/
Download attachment "smime.p7s" of type "application/pkcs7-signature" (2959 bytes)
Powered by blists - more mailing lists