Skip to contentSkip to conversation

Fix the warning when running make tags

PATCH New Aneesh Kumar K.V 1 participant 1 message Jun 27, 2007 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix the warning when running make tags

From: Aneesh Kumar K.V <[email protected]>

make tags was giving the below warning.

ctags: Warning: arch/x86_64/kernel/head.S:124: null expansion of name pattern "\1"

Fix the same by making sure we taken only ENTRY pattern found at the begining of the line.

---
Makefile | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)
Makefile +0 -0
index 8a3c271..9c2670e 100644
@@ -1316,7 +1316,7 @@ define xtags
		-I __initdata,__exitdata,__acquires,__releases \
		-I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \
		--extra=+f --c-kinds=+px \
-		--regex-asm='/ENTRY\(([^)]*)\).*/\1/'; \
+		--regex-asm='/^ENTRY\(([^)]*)\).*/\1/'; \
	    $(all-kconfigs) | xargs $1 -a \
		--langdef=kconfig \
		--language-force=kconfig \
Signature · 1 line
1.5.2.2.571.ge1341-dirty