Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp558174ybp; Fri, 4 Oct 2019 01:00:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqw6Wt9AVhkR0PHy7KKNHXu6P3QCHKDPL0tXfwR8m+3gDkj8yMKZorKUTDxXC5m8Oqr7bbTX X-Received: by 2002:a17:906:b801:: with SMTP id dv1mr3563387ejb.314.1570176013711; Fri, 04 Oct 2019 01:00:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570176013; cv=none; d=google.com; s=arc-20160816; b=ldM2AsLjsvIJaY4LotX3AQx9f6KQUdANcuGrgKUCZAzacrAzqNxfU3pk9T3zzcyG6k oSmCk5yQb9TVMf/geTt70NZLMcBCwqm4V4ST8rd+0qUC2LJsVIyuwCd+NqoHKhL/mAr8 O6MVS5xkSZS5BXkEXosK9A/FD5Xn99JAIGgoTsYoyBkA0qbUXBKbsVeydeR+Nb1GVDYc YgX4nlSYJWneeyDMFWgaUdbQ6uDcEb3QWpj9/yz36/pcF4B1YL02XVHqVOemd86ExFiF xyDD6JUXkzkrD0RFrCvJbseZu0IDJqtNbdac9dx8ExSG7unFfvIGzL2wZrqX91+hlvLw vQtw== 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=7YN++JqV7jyOcxkopUQJqoctW6E3dcZKj7/HVqXQvuw=; b=CiwxBEJBjhcjh5UiI2t1skkNb9Rrbi8eZrCFog5MciWD+JxEZ88F+6sbKv00A1f04n cdR1FCEqRzRwZO1BvoNaIn0uvkqdP4UfRRtJmfSNp24nsPBErW5JTctwe20CzpWMs92J 2BC02X7A3UNTjFK20w8PNc17tYDDuyyIIDQweQI3chw0SVGmrOPS5h+HM+ZY7Qow6lCT OfzSPaRHc8K9NnKoSdrFuvPemcOj75ipQkE2T9NTXsn0JvstqdlYIQ0pqQv95jA5v/Xc J5vig8F1kwzSfV9COebuLdtq8NfcOBLStlpiaq3RhnPUtE+ThCua6xGOVKevNCq/mPZE uqTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=VdYXhZrc; 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 o14si1286930ejc.433.2019.10.04.00.59.49; Fri, 04 Oct 2019 01:00:13 -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=VdYXhZrc; 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 S1731831AbfJDCct (ORCPT + 99 others); Thu, 3 Oct 2019 22:32:49 -0400 Received: from conssluserg-01.nifty.com ([210.131.2.80]:50400 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730554AbfJDCcs (ORCPT ); Thu, 3 Oct 2019 22:32:48 -0400 Received: from mail-vs1-f42.google.com (mail-vs1-f42.google.com [209.85.217.42]) (authenticated) by conssluserg-01.nifty.com with ESMTP id x942WgKm028652 for ; Fri, 4 Oct 2019 11:32:43 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com x942WgKm028652 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1570156363; bh=7YN++JqV7jyOcxkopUQJqoctW6E3dcZKj7/HVqXQvuw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=VdYXhZrcqJtrPI/G0jK+Re7Lymhlu2McrcbMp9VM5Ff3Mv9Z/SXheONw5MnH2zCKH gMNUaTlGKIcHjgiYKB35c/Zal1mQbzlNcxjfKl9TKrSwD5NlmFrsTAueaBXBgxWZsm kscgxgSGbSZGlxT8BCLbiNj0MgEqnTqqdctpuzQXhwd9sFB+/0bUXTBn10AGSqA7xa O9XdpkkZzvIf+7Qe5HXQUeKPmQ1TJZtrQhTly4WTS81LFnccy2N1oXV65LTlz8NmWd LtPgo3dh0mm3j+SoEinzd50WRW0C/TgbRifnrF+YXcErTTe0pVDlgpsI0M4vKm+4Xr duwxLN3yrEJrA== X-Nifty-SrcIP: [209.85.217.42] Received: by mail-vs1-f42.google.com with SMTP id z14so3109384vsz.13 for ; Thu, 03 Oct 2019 19:32:43 -0700 (PDT) X-Gm-Message-State: APjAAAU4TRSl0pK8BiTR2G1qvW12RhyMbCIeXxTaMW8WA/wD529dOUq+ 62loqVbT3p55P/oEaxfuSA3yO/XxML64bFI0Xk8= X-Received: by 2002:a67:88c9:: with SMTP id k192mr6718255vsd.181.1570156362283; Thu, 03 Oct 2019 19:32:42 -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: Fri, 4 Oct 2019 11:32:06 +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 Thu, Oct 3, 2019 at 9:23 PM Julia Lawall wrote: > > > > On Thu, 3 Oct 2019, Masahiro Yamada wrote: > > > 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? > > It was probably waiting for moderation in the cocci mailing list. Do you > have it now (or in a few minutes)? No. I do not see it yet. I want to pick the patch from LKML Patchwork https://lore.kernel.org/patchwork/project/lkml/list/ You gave Acked-by to the one-liner fix "virtual report", and I am happy to apply it to my tree. YueHaibing, could you submit it as a patch? -- Best Regards Masahiro Yamada