[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK7LNAQ8Wi1zED0rYJhk9tYi5-jgCoyeHNtofvgKet4ZTzKFcA@mail.gmail.com>
Date: Tue, 29 Oct 2019 22:12:32 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Matthias Maennich <maennich@...gle.com>,
Jessica Yu <jeyu@...nel.org>,
Julia Lawall <Julia.Lawall@...6.fr>
Cc: Coccinelle <cocci@...teme.lip6.fr>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Warning message from 'make nsdeps' when namespace is lower cases
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.
It should be technically OK to use either upper or lower cases
for the namespace name.
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
Powered by blists - more mailing lists