]> err.no Git - linux-2.6/commitdiff
kbuild: fix the warning when running make tags
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Mon, 9 Jul 2007 18:43:57 +0000 (11:43 -0700)
committerSam Ravnborg <sam@ravnborg.org>
Tue, 17 Jul 2007 12:24:55 +0000 (14:24 +0200)
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.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Makefile

index 4f0bd65a38d80397dbb3f38c827b8a587cc0c1da..b4de51d72771609544195b72c0cf655974a20975 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1333,7 +1333,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 \