Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp449429ybn; Wed, 2 Oct 2019 00:21:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqxT4egxlesKGRgXtCYofTRbvTv5DyKg3nazPt2ZTnU9nQx7beUSHHHlJ/xZpg2MOxao3YL3 X-Received: by 2002:a17:906:4a51:: with SMTP id a17mr1732847ejv.279.1570000881088; Wed, 02 Oct 2019 00:21:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570000881; cv=none; d=google.com; s=arc-20160816; b=q8y4yKEtjTdqCMHETRJSzmaSQW+d2/lhAAg5oQeRaDF1FFueVtpM4G9W6SnShDWsni xq3P+UKDhW6qfla1rGh7vzIj2KJ/OLcQBqQ1dPdkteT9S0qPKTGZ4RgSeCm2ZCKYsFtv 9nmGIO9Rbax+GfgZGBKU2vHBEbLr3VvDQo99TDpVqGcPIIRaK/LS19O8RbxobKM298YV q9g+F2/ZtPGUJUzRlA9+EmEV9miNJ2v6n3H7bmS83MyQzXvA4CKij9BBuazB/H6HmBnD 3NaLqQPz5xgNXuNHP0/9BiSRWArgWq0X8FAypJsfvanL6/hO9CrA32LTwBW4vtynMra7 BVOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:references:cc:to:from:subject:dkim-signature; bh=E0oXckPUCGmniF5YPC13wMVikZ3LAsJIQ2JJ0vuD4AQ=; b=kz4nMZvgWnSf4UzXP0KZURrj6rwZXXClk1BihNNy3pQZZDqotiSUPQHYRJmNCLqRAQ 3cAHZjlCGtQpE68h5KyEDrMcqZIcmH8Fwa8Ya6k/wMW6LvMjSSVje1LCHLlp/HuVV/cu fa1o+o5HL/rzjvuU2bRGZLdVWNv8/pb/hI3aFFNLda7R884xIsmwwL9sdYmJGhxk740N a0UNUBU7HEgWrw7ne0YUBWKCUML46PNT5sI5gPS/Ybn1QzMwaaOf6oc+3qe/bmzWMn0p EtQC87qguZGkM/LEhJ2qNkpwwLyhzF9pxMAHO9tTu9Z2Buss7AWL/Nbe+LoRTGS8go2m Yp/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@web.de header.s=dbaedf251592 header.b=AhGOc3or; 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 e49si11444233edb.87.2019.10.02.00.20.56; Wed, 02 Oct 2019 00:21:21 -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; dkim=pass header.i=@web.de header.s=dbaedf251592 header.b=AhGOc3or; 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 S1726225AbfJBHL0 (ORCPT + 99 others); Wed, 2 Oct 2019 03:11:26 -0400 Received: from mout.web.de ([212.227.15.4]:56211 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725799AbfJBHLZ (ORCPT ); Wed, 2 Oct 2019 03:11:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1570000258; bh=i1FVGx7dSZCAXR1CegTHrRZN4pjtKq5DP6ogcc8nls0=; h=X-UI-Sender-Class:Subject:From:To:Cc:References:Date:In-Reply-To; b=AhGOc3orE8tuw80MmHpasAGQFCohVSFWeWAwK2WB5Ie79fF94ICFixZN7yKtqCwFp P4io+FZIWe3aIhoeJNrHmekp9pqQZUIa1DNcg4sFJeW9wUf6nfgNwxwm1hbq9bHfUO sFswKZ/Hh1Ydd7boa0+RdjIm5uSUO7LGanOuMloU= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from [192.168.1.2] ([93.135.73.205]) by smtp.web.de (mrweb004 [213.165.67.108]) with ESMTPSA (Nemesis) id 0LwU2B-1i4OVR0UdL-018OOk; Wed, 02 Oct 2019 09:10:58 +0200 Subject: =?UTF-8?Q?=5bPATCH_1/2=5d_Coccinelle=3a_Move_the_SmPL_script_?= =?UTF-8?Q?=e2=80=9cadd=5fnamespace=2ecocci=e2=80=9d_into_a_new_directory?= From: Markus Elfring To: Gilles Muller , Greg Kroah-Hartman , Jessica Yu , Julia Lawall , Martijn Coenen , Masahiro Yamada , Matthias Maennich , Michal Marek , Nicolas Palix , Yue Haibing , Coccinelle , kernel-janitors@vger.kernel.org Cc: LKML References: <20190928094245.45696-1-yuehaibing@huawei.com> <7664d59f-78cf-7644-0ee8-304b3d78d752@web.de> Autocrypt: addr=Markus.Elfring@web.de; prefer-encrypt=mutual; keydata= mQINBFg2+xABEADBJW2hoUoFXVFWTeKbqqif8VjszdMkriilx90WB5c0ddWQX14h6w5bT/A8 +v43YoGpDNyhgA0w9CEhuwfZrE91GocMtjLO67TAc2i2nxMc/FJRDI0OemO4VJ9RwID6ltwt mpVJgXGKkNJ1ey+QOXouzlErVvE2fRh+KXXN1Q7fSmTJlAW9XJYHS3BDHb0uRpymRSX3O+E2 lA87C7R8qAigPDZi6Z7UmwIA83ZMKXQ5stA0lhPyYgQcM7fh7V4ZYhnR0I5/qkUoxKpqaYLp YHBczVP+Zx/zHOM0KQphOMbU7X3c1pmMruoe6ti9uZzqZSLsF+NKXFEPBS665tQr66HJvZvY GMDlntZFAZ6xQvCC1r3MGoxEC1tuEa24vPCC9RZ9wk2sY5Csbva0WwYv3WKRZZBv8eIhGMxs rcpeGShRFyZ/0BYO53wZAPV1pEhGLLxd8eLN/nEWjJE0ejakPC1H/mt5F+yQBJAzz9JzbToU 5jKLu0SugNI18MspJut8Ai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072vrdiN0icyOHQlfWmaPv0pUnW3AwtiMYngT96BevfA qlwaymjPTvH+cTXScnbydfOQW8220JQwykUe+sHRZfAF5TS2YCkQvsyf7vIpSqo/ttDk4+xc Z/wsLiWTgKlih2QYULvW61XU+mWsK8+ZlYUrRMpkauN4CJ5yTpvp+Orcz5KixHQmc5tbkLWf x0n1QFc1xxJhbzN+r9djSGGN/5IBDfUqSANC8cWzHpWaHmSuU3JSAMB/N+yQjIad2ztTckZY pwT6oxng29LzZspTYUEzMz3wK2jQHw+U66qBFk8whA7B2uAU1QdGyPgahLYSOa4XAEGb6wbI FEE= Message-ID: <2b4e3866-d0fc-e6ca-9977-777b2a0cfc0e@web.de> Date: Wed, 2 Oct 2019 09:10:55 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:YFk7IJLTLs9EBIFc3QFUQmpbfO/3OiQOJwxkJx1Q8bZrt2nBtio frf2PDq97/gx7J+xN58DGzPgMT4kh9ADPJMix+Lep0ixHUmWXCEvSHuXyX1vMoXPYsm831u BBqJQJmuYfZZk7TOej7NeHMGOIjQCs8OHKrkAlgJnPHlO1ejKFuWE5ogAU8vJ3g8KHCrzzk p1gMdfgwZjFxBLTDQCr2Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:KCO38XKGN7Y=:gn1D/5VV6kGCMfjBhmjnpX GT5enhXKxUEafgBxMUIZEQ0UVyKlrora/4BlEQSwnHqXUdAtbrhcFzLjKpDLLzannGOORAgGa ggCBYFXe03lLeYFk8soiBhouubf2zK6r8aCatz4FbKs+0A3ekIJzO/IZURuioATbzwY8Ig+sm Gd3YVmulye8XqtsGCtuNi93Gb2C3LFnJduVvP5VYiCDV1Q57MJGQFelYJWjgYIB9ibT+SxzUs HSSbLMWZfwNQUbtPM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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Markus Elfring Date: Tue, 1 Oct 2019 20:56:45 +0200 The script =E2=80=9Cadd_namespace.cocci=E2=80=9D was integrated into a kno= wn directory without taking all relevant system dependencies into account (despite of positive code review feedback). See also: * Commit eb8305aecb958e8787e7d603c7765c1dcace3a2b ("scripts: Coccinelle sc= ript for namespace dependencies.") * Topic =E2=80=9C[Cocci] [RFC PATCH] scripts: Fix coccicheck failed=E2=80= =9D https://lore.kernel.org/cocci/20191001125742.GD90796@google.com/ https://systeme.lip6.fr/pipermail/cocci/2019-October/006351.html https://lkml.org/lkml/2019/10/1/503 YueHaibing reported then that the standard system configuration did not work any more as it was expected for the tool =E2=80=9Ccoccicheck= =E2=80=9D. https://lore.kernel.org/cocci/20190928094245.45696-1-yuehaibing@huawei.com= / https://systeme.lip6.fr/pipermail/cocci/2019-September/006341.html https://lkml.org/lkml/2019/9/28/29 The added SmPL script was designed in the way that no corresponding operation modes were supported so far. This approach can also work finally if additional script execution criteria will be taken into account. Thus move it into a directory which will not be directly included by the filter command of the tool =E2=80=9Ccoccicheck=E2=80=9D. Signed-off-by: Markus Elfring =2D-- scripts/coccinelle/{misc =3D> direct}/add_namespace.cocci | 0 scripts/nsdeps | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename scripts/coccinelle/{misc =3D> direct}/add_namespace.cocci (100%) diff --git a/scripts/coccinelle/misc/add_namespace.cocci b/scripts/coccine= lle/direct/add_namespace.cocci similarity index 100% rename from scripts/coccinelle/misc/add_namespace.cocci rename to scripts/coccinelle/direct/add_namespace.cocci diff --git a/scripts/nsdeps b/scripts/nsdeps index ac2b6031dd13..9000524f9347 100644 =2D-- a/scripts/nsdeps +++ b/scripts/nsdeps @@ -23,7 +23,7 @@ fi generate_deps_for_ns() { $SPATCH --very-quiet --in-place --sp-file \ - $srctree/scripts/coccinelle/misc/add_namespace.cocci -D ns=3D$1 $2 + $srctree/scripts/coccinelle/direct/add_namespace.cocci -D ns=3D$1 $2 } generate_deps() { =2D- 2.23.0