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=-5.2 required=3.0 tests=BAYES_00, 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 11726C433F5 for ; Tue, 21 Sep 2021 05:35:26 +0000 (UTC) Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DA6A260F26 for ; Tue, 21 Sep 2021 05:35:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DA6A260F26 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=inria.fr Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=inria.fr X-IronPort-AV: E=Sophos;i="5.84,326,1620684000"; d="scan'208";a="529489494" Received: from prod-listesu18.inria.fr (HELO sympa.inria.fr) ([128.93.162.160]) by mail2-relais-roc.national.inria.fr with ESMTP; 21 Sep 2021 07:35:22 +0200 Received: by sympa.inria.fr (Postfix, from userid 20132) id 961B2E0019; Tue, 21 Sep 2021 07:35:22 +0200 (CEST) Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 6C02CE0015 for ; Tue, 21 Sep 2021 07:35:16 +0200 (CEST) IronPort-HdrOrdr: =?us-ascii?q?A9a23=3AQupfaazP4MCsRM0kXl4MKrPwR71zdoMgy1kn?= =?us-ascii?q?xilNoHNuGPBw+/rDoBxtviWetN95YhhJpTnqAse9qB3nmqKco+EqUIufYA=3D?= =?us-ascii?q?=3D?= X-IronPort-AV: E=Sophos;i="5.84,326,1620684000"; d="scan'208";a="529489486" Received: from 173.121.68.85.rev.sfr.net (HELO hadrien) ([85.68.121.173]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Sep 2021 07:35:16 +0200 Date: Tue, 21 Sep 2021 07:35:16 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Kees Cook cc: Mansour Moufid , cocci@inria.fr Subject: Re: matching an arbitrary struct or union (but not scalars) In-Reply-To: <202109202107.E21EEF4BFC@keescook> Message-ID: References: <202109161609.9AB60A934B@keescook> <202109180813.D8EC1ECE07@keescook> <202109202107.E21EEF4BFC@keescook> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Reply-To: Julia Lawall X-Loop: cocci@inria.fr X-Sequence: 18 Errors-To: cocci-owner@inria.fr Precedence: list Precedence: bulk Sender: cocci-request@inria.fr X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: On Mon, 20 Sep 2021, Kees Cook wrote: > On Sat, Sep 18, 2021 at 08:50:57PM +0200, Julia Lawall wrote: > > > But it emits a bunch of warnings: > > > > > > warning: compound: metavariable os not used in the - or context code > > > warning: compound: metavariable is not used in the - or context code > > > warning: compound: metavariable iu not used in the - or context code > > > warning: compound: metavariable ou not used in the - or context code > > > warning: array_of_compound_type: metavariable u not used in the - or context code > > > warning: array_of_compound_type: metavariable s not used in the - or context code > > > > > > Can these be silenced in some sane way? > > > > The problem is fixed. > > Awesome; thank you! I'll need to start building coccinelle from git now. > :) Yes, we are not so proactive about making releases. One should come soon, but there is a build-related problem that needs to be addressed in the meantime. julia