From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85BDAC433DF for ; Thu, 2 Jul 2020 05:40:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5757620724 for ; Thu, 2 Jul 2020 05:40:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726029AbgGBFkV (ORCPT ); Thu, 2 Jul 2020 01:40:21 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:50893 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726015AbgGBFkU (ORCPT ); Thu, 2 Jul 2020 01:40:20 -0400 X-IronPort-AV: E=Sophos;i="5.75,303,1589234400"; d="scan'208";a="457763334" Received: from abo-173-121-68.mrs.modulonet.fr (HELO hadrien) ([85.68.121.173]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Jul 2020 07:40:18 +0200 Date: Thu, 2 Jul 2020 07:40:18 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Matthew Wilcox cc: Randy Dunlap , Markus Elfring , linux-doc@vger.kernel.org, Coccinelle , LKML , kernel-janitors@vger.kernel.org, Julia Lawall , Gilles Muller , Nicolas Palix , Michal Marek , Masahiro Yamada , Jonathan Corbet Subject: Re: [v2] Documentation: Coccinelle: fix typos and command example In-Reply-To: <20200702000843.GV25523@casper.infradead.org> Message-ID: References: <0616dd0c-bb86-be2b-3dc6-1c695a92c3ca@infradead.org> <2a3940de-6a81-1aff-8109-53c1c5a6aa1b@web.de> <2f80fb10-dc7f-29be-dc3e-2715f8bafc6d@web.de> <20200702000843.GV25523@casper.infradead.org> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On Thu, 2 Jul 2020, Matthew Wilcox wrote: > On Wed, Jul 01, 2020 at 07:52:58AM -0700, Randy Dunlap wrote: > > On 7/1/20 6:32 AM, Markus Elfring wrote: > > >>> How do you think about to use the following command variant > > >>> for the adjustment of the software documentation? > > >>> > > >>> + make C=1 CHECK='scripts/coccicheck' 'path/to/file.o' > > >> > > >> I don't understand the reason for that change... > > > > IOW, your "patch" needs justification and/or explanation. It was missing that info. > > What Markus is trying so completely ineptly to say is that > make C=1 CHECK=scripts/coccicheck path/to/file.c > doesn't work. You need to use the .o suffix to check the .c file. Thanks Matthew for this very helpful information. julia