Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4807610ybg; Tue, 29 Oct 2019 12:41:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxF8nEn7qoLBhUeOfeQjRPhkjC+H8P+76oQzue8v0mV1irIcs8j1WKY/efX5K84jXjkvhhM X-Received: by 2002:a05:6402:120d:: with SMTP id c13mr10018033edw.264.1572378099696; Tue, 29 Oct 2019 12:41:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572378099; cv=none; d=google.com; s=arc-20160816; b=edUFFeYaFl1z4Nv+RD5iIHTGYLrADUbseGyt9x059dK8LxqIiEvQG54TTrvxyasCy7 GWBY4qAjM7nZmWlQQWEv84j848eW79aDU/TYWNM4QO3eFNCnolUQczf7veyCsABeGu5L cg9q/JHIjwziAD63ghJqJImekUDHqmPWcKLkWI2XjvRRYg7APJUPpoRRp+GagyyCXWOZ +1xkf30+i3kqQrULJ6k02ODHsqAbGv5orNcfJADo6rYeb2IckgNMC3xHDcGyL4DaTg+5 YJ2ErkIyp2cdX0ACw/zr4BgiO3OhUQW0cTQs4wZKwK9ldy97ipxkvpNHGEByWDWJW2Om aG+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=qGvC5j3HmPOJPOGm3YrFVs1Ln1cHqN5HcKS+yMSnZAw=; b=AgbXUnLcNwZwyW8Yvr/O/P0znI1uWjjwoQFSzYh3X66YRF7YOVHYuyDlFtmzSWjec7 aP0Ag9wqK6hh9L6CkeulC53SYiAhsatPuV9I9qIk5hGmPsO1yMS+Zb9zbgvlts0Zog4g vkw7FTZuv2AFTW20MLiDnL2KopdA2qv/zCo20GZkd8bPKokVgPEpsiWqM0zKD/ksZTZy D30fokFH4qztyPEUYJoYHHxKwdLt87RkYG15yOhUOf5RoFREJyUsXztmj4lzynAAnrhW 3LcsfUm+bhIEuvl2TnS8Yf//ta8cS8s0XdQOXGXd8MUljSVJKSVkcXUqAiwHcQcGuHMD 0ozw== ARC-Authentication-Results: i=1; mx.google.com; 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 gt20si8140213ejb.182.2019.10.29.12.41.16; Tue, 29 Oct 2019 12:41:39 -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; 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 S2388822AbfJ2Nii (ORCPT + 99 others); Tue, 29 Oct 2019 09:38:38 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:10669 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388626AbfJ2Nii (ORCPT ); Tue, 29 Oct 2019 09:38:38 -0400 X-IronPort-AV: E=Sophos;i="5.68,244,1569276000"; d="scan'208";a="409343048" Received: from unknown (HELO hadrien) ([91.217.168.176]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Oct 2019 14:38:37 +0100 Date: Tue, 29 Oct 2019 14:38:36 +0100 (CET) From: Julia Lawall X-X-Sender: julia@hadrien To: Masahiro Yamada cc: Matthias Maennich , Jessica Yu , Coccinelle , Linux Kernel Mailing List Subject: Re: Warning message from 'make nsdeps' when namespace is lower cases In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 29 Oct 2019, Masahiro Yamada wrote: > Hi. > > When I was playing with 'make nsdeps', > I saw a new warning. > > If I rename USB_STORAGE to usb_storage, > I see 'warning: line 15: should usb_storage be a metavariable?' > Why? I think it comes from spatch. Yes, it would come from spatch. > It should be technically OK to use either upper or lower cases > for the namespace name. What is normally wanted? Uppercase or lowercase? julia > > Just apply the following, and try 'make nsdeps'. > > > diff --git a/drivers/usb/storage/Makefile b/drivers/usb/storage/Makefile > index 46635fa4a340..6f817d65c26b 100644 > --- a/drivers/usb/storage/Makefile > +++ b/drivers/usb/storage/Makefile > @@ -8,7 +8,7 @@ > > ccflags-y := -I $(srctree)/drivers/scsi > > -ccflags-y += -DDEFAULT_SYMBOL_NAMESPACE=USB_STORAGE > +ccflags-y += -DDEFAULT_SYMBOL_NAMESPACE=usb_storage > > obj-$(CONFIG_USB_UAS) += uas.o > obj-$(CONFIG_USB_STORAGE) += usb-storage.o > > > > > > > > > > > -- > Best Regards > Masahiro Yamada >