Received: by 2002:a17:90a:37e8:0:0:0:0 with SMTP id v95csp202807pjb; Thu, 3 Oct 2019 04:59:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqx3OM77NVFZo6+r2h2di/GaVk7sUfON3CdO0JT7ZqxADvpf0BaoeEgc5P0rujijOZkpFdEQ X-Received: by 2002:a17:906:5bc1:: with SMTP id w1mr7454840ejs.143.1570103965693; Thu, 03 Oct 2019 04:59:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570103965; cv=none; d=google.com; s=arc-20160816; b=eZlJRyE/5JtdmdJ6lLaWLGjSOpyNQJSIwt9YdxI3+RNFNmIazA723szvtCsG78JLyh aVrStFo2n2E2Ph8dADW4LEwxKhM+8kjDzZNfOTff5i0jarKuLTYgVy4fCx3WaMOAcn/p zw9sTEEDZ9P1iX2+hyb9OxdEGO0rtLJP1rb3BDO90OopiHE2mMeN2ZGdVvAp4Re9Ey5B /wfniDS3Rup9RLs4VwJ1THfz9Wd6hNgMxjdOh/Ez2hfw7ddAdr+LAF8FnQSLlMYS+DSd 7j08gdqHbCc8A1kzBcH8cXhIQGLh/XlEL5glOSI/AGE1YPrxjoELKO+otflo96qvdtOt OxZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=zCd51wQccV5gCP/s+G8hMogXPErk6qWPCtDB4gKUwAg=; b=F03BfkA66d3GfkxX/Ei+yLR3tNKMqgshAWdagMuoHxNS76iY1R7kUtcpwR9tZXdcql m3166ZGveELF2VvUYqgxiLVgtuaTulq5BMV7HkvIoMqGs0Cs/B/vwckunsHqWQiiGl7a 80NjYPJ3ZA6mkQYOW7zJwGKWHRzEZNarTIoTgYvw+X26o0Ff2Yb/GBNfPErBx9ty32Yw sBnQlHtJE3RqG0IrbultulF3DKLRqCmChrDc8WySxDbSJgwZIoAx/SWi6qPYRLBW61ba LA6jkX16tZu74iX4eGWvxt/Ujn/gRkakGMigVjIG+hQqPsvtUuKNFGhMY61+b9yEoBiQ mjRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=jxSl5GBY; 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 j9si1245325edt.32.2019.10.03.04.59.01; Thu, 03 Oct 2019 04:59: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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=jxSl5GBY; 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 S1727488AbfJCL6g (ORCPT + 99 others); Thu, 3 Oct 2019 07:58:36 -0400 Received: from conssluserg-04.nifty.com ([210.131.2.83]:63779 "EHLO conssluserg-04.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725892AbfJCL6g (ORCPT ); Thu, 3 Oct 2019 07:58:36 -0400 Received: from mail-vk1-f172.google.com (mail-vk1-f172.google.com [209.85.221.172]) (authenticated) by conssluserg-04.nifty.com with ESMTP id x93BwLW8002306 for ; Thu, 3 Oct 2019 20:58:22 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com x93BwLW8002306 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1570103902; bh=zCd51wQccV5gCP/s+G8hMogXPErk6qWPCtDB4gKUwAg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=jxSl5GBYZ47LoeuI94u7/1pbamdvKCjWyxwIPVR7GQDRLs1SwBT51qQOYHt4DeCWJ ci4+Gvecenow8EXNQ4ZhG6rbMB0hsD2GcogNnkl3FAzeN0jG7iNVTvssEjI3oBJQKm lqeoq476TsoWYldR0irpAm0inuNMqJxtD9GvwcEvAlJAphYk8xAvOpde0H7F16ZKBZ OvXQRqFaNoQ3/vuJ7hflU+vuyeIj385S9xurGq2FKy1hHQtPa94mM7XOD1pMcLos2t YCrIlsmWwZMtbGt0aEN6B7DCTl2vf4eQ0F+GDDBEmufK13jkqfF/sPErKHn8XlJCwD qmqJ36Jw9ehCg== X-Nifty-SrcIP: [209.85.221.172] Received: by mail-vk1-f172.google.com with SMTP id p189so539159vkf.10 for ; Thu, 03 Oct 2019 04:58:22 -0700 (PDT) X-Gm-Message-State: APjAAAUaWpYeaFe++Vj3NRsiVjVNq+zeqGv63i8ZIGVJVCxkuOAlwMe7 PjQLsM7w5H1A1JejaAzC3awUzGEnVv5WvCiI0Xo= X-Received: by 2002:a1f:2343:: with SMTP id j64mr4670136vkj.84.1570103901321; Thu, 03 Oct 2019 04:58:21 -0700 (PDT) MIME-Version: 1.0 References: <20190928094245.45696-1-yuehaibing@huawei.com> <2c109d6b-45ad-b3ca-1951-bde4dac91d2a@huawei.com> In-Reply-To: From: Masahiro Yamada Date: Thu, 3 Oct 2019 20:57:45 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH] scripts: Fix coccicheck failed To: Julia Lawall Cc: Yuehaibing , Gilles Muller , Nicolas Palix , Michal Marek , Matthias Maennich , Greg Kroah-Hartman , Linux Kernel Mailing List , Coccinelle Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 1, 2019 at 10:01 PM Julia Lawall wrote: > > diff --git a/scripts/coccinelle/misc/add_namespace.cocci b/scripts/coccinelle/misc/add_namespace.cocci > > index c832bb6445a8..99e93a6c2e24 100644 > > --- a/scripts/coccinelle/misc/add_namespace.cocci > > +++ b/scripts/coccinelle/misc/add_namespace.cocci > > @@ -6,6 +6,8 @@ > > /// add a missing namespace tag to a module source file. > > /// > > > > +virtual report > > + > > @has_ns_import@ > > declarer name MODULE_IMPORT_NS; > > identifier virtual.ns; > > > > > > > > Adding virtual report make the coccicheck go ahead smoothly. > > Acked-by: Julia Lawall > Was this patch posted somewhere? -- Best Regards Masahiro Yamada