Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2963370imm; Mon, 13 Aug 2018 03:43:25 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxkw3n220ywqYZr23o2IowdAFISxr3SOelWgV9NV6Eaf4wF5W3L8bfScyq8Dcnnaih3UlK4 X-Received: by 2002:a17:902:8215:: with SMTP id x21-v6mr16032142pln.175.1534157005824; Mon, 13 Aug 2018 03:43:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534157005; cv=none; d=google.com; s=arc-20160816; b=Tnfqgh9Z55t9YoOaJdpd4gxaWUsU+jSbMo0Kmr9Un6uxNMOBHf+O3GsqUZ6ce/oXPB Nyr4/992DHVe1Sa5n2LHFB2a3nf7EW7u8fJFuQrMk7NEsU3k+LerEkLnOcwY9mWMuv1G j/lzdO73kNKAcXmQ+0DgW3x1jQ2ZKfE2UYVYXAucyjJ1rBIpofDO0WJuXmnVPnXxoK2B DOFCpGOS1oDQ8cpEt2e1rDWo7szy7YIagr22Z6ynbRhTiaqxC3HeL/GJbiB7ovBBfzaZ ZuY2q34eDFQbJZSWAGXSdWmLZ3L5Yi4ybLqkT6tDskO9H3bQ/DeOwBUt8niF/NWzotBw 6Omw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=VTmSA8Q/ECbYsqX8+D53UPUP3vJwz5Wn5Hy/+V5Tzck=; b=F4tTtSK4lV0E3MIa6PQhi3PUZRjxLm/llGnrd3bdHNf7yVXPg/30hF3HNTlu5DqMjK B/cJWvgtwO6xKV7o8Cibvvnv30plM6VRJC4XNl3koxKCRhDCHZ8x33R0+MARlOolfAuo SdkYFvpSyLxhGNlVY2IVkBLd5uCTnFXO9JdGCMV9hCzgU5AjuuLcCjV5/fe+VrpSWrTf Rovy6VddE/FmR1HUOko+5nY5Wf181Dt9N9IZwNonlu9RWFxwzaKz1jXT/C5IMYR9JBZN biwL51gSzHXhH2lSIc/m8LswTJ0x2scokubQbg1X+9s1yk7oGSDktc83JQRY0Eeqx6RD DGOg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m124-v6si18925577pfm.303.2018.08.13.03.43.11; Mon, 13 Aug 2018 03:43:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728595AbeHMNW6 (ORCPT + 99 others); Mon, 13 Aug 2018 09:22:58 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:27807 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728356AbeHMNW6 (ORCPT ); Mon, 13 Aug 2018 09:22:58 -0400 X-IronPort-AV: E=Sophos;i="5.53,233,1531778400"; d="scan'208";a="275723598" Received: from vaio-julia.rsr.lip6.fr ([132.227.76.33]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Aug 2018 12:41:13 +0200 Date: Mon, 13 Aug 2018 12:41:05 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Himanshu Jha cc: corbet@lwn.net, Gilles Muller , nicolas.palix@imag.fr, cocci@systeme.lip6.fr, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] docs: dev-tools: coccinelle: Update documentation In-Reply-To: <20180813103614.7495-1-himanshujha199640@gmail.com> Message-ID: References: <20180813103614.7495-1-himanshujha199640@gmail.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 13 Aug 2018, Himanshu Jha wrote: > * Fix install instruction by adding `./autogen` command > before `./configure`. > * Add link to a more detailed installation instruction. > * Add link to SmPL grammar documentation. > * Add single space after ',' to slightly improve readability. > > Signed-off-by: Himanshu Jha > --- > Documentation/dev-tools/coccinelle.rst | 23 +++++++++++++++++++---- > 1 file changed, 19 insertions(+), 4 deletions(-) > > diff --git a/Documentation/dev-tools/coccinelle.rst b/Documentation/dev-tools/coccinelle.rst > index 94f41c290bfc..f8305cd55186 100644 > --- a/Documentation/dev-tools/coccinelle.rst > +++ b/Documentation/dev-tools/coccinelle.rst > @@ -30,18 +30,29 @@ of many distributions, e.g. : > - NetBSD > - FreeBSD > > -You can get the latest version released from the Coccinelle homepage at > +Some distribution packages are obsolete and it is recommended > +to use the latest version released from the Coccinelle homepage at > http://coccinelle.lip6.fr/ > > -Once you have it, run the following command:: > +Or Github at: Or from Github at: > > - ./configure > +https://github.com/coccinelle/coccinelle > + > +Once you have it, run the following commands:: > + > + ./autogen > + ./configure > make > > as a regular user, and install it with:: > > sudo make install > > +More detailed installation instruction to build from source can be instruction -> instructions julia > +found at: > + > +https://github.com/coccinelle/coccinelle/blob/master/install.txt > + > Supplemental documentation > --------------------------- > > @@ -51,6 +62,10 @@ https://bottest.wiki.kernel.org/coccicheck > > The wiki documentation always refers to the linux-next version of the script. > > +For Semantic Patch Language(SmPL) grammar documentation refer to: > + > +http://coccinelle.lip6.fr/documentation.php > + > Using Coccinelle on the Linux kernel > ------------------------------------ > > @@ -223,7 +238,7 @@ Since coccicheck runs through make, it naturally runs from the kernel > proper dir, as such the second rule above would be implied for picking up a > .cocciconfig when using ``make coccicheck``. > > -``make coccicheck`` also supports using M= targets.If you do not supply > +``make coccicheck`` also supports using M= targets. If you do not supply > any M= target, it is assumed you want to target the entire kernel. > The kernel coccicheck script has:: > > -- > 2.17.1 > >