]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - scripts/kallsyms.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild
[linux-2.6-omap-h63xx.git] / scripts / kallsyms.c
index caf4c86c3d0b33643140f2974c8198af62c538c0..1f11d848532a0474b342ca462a905af4f044b2f6 100644 (file)
@@ -29,7 +29,7 @@
 #include <string.h>
 #include <ctype.h>
 
-#define KSYM_NAME_LEN          127
+#define KSYM_NAME_LEN          128
 
 
 struct sym_entry {
@@ -252,7 +252,7 @@ static void write_src(void)
        unsigned int i, k, off;
        unsigned int best_idx[256];
        unsigned int *markers;
-       char buf[KSYM_NAME_LEN+1];
+       char buf[KSYM_NAME_LEN];
 
        printf("#include <asm/types.h>\n");
        printf("#if BITS_PER_LONG == 64\n");