summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/kallsyms.h2
-rw-r--r--scripts/kallsyms.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/kallsyms.h b/include/linux/kallsyms.h
index 56488708da4b..6883e197acb9 100644
--- a/include/linux/kallsyms.h
+++ b/include/linux/kallsyms.h
@@ -9,7 +9,7 @@
#include <linux/kernel.h>
#include <linux/stddef.h>
-#define KSYM_NAME_LEN 255
+#define KSYM_NAME_LEN 128
#define KSYM_SYMBOL_LEN (sizeof("%s+%#lx/%#lx [%s]") + (KSYM_NAME_LEN - 1) + \
2*(BITS_PER_LONG*3/10) + (MODULE_NAME_LEN - 1) + 1)
diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c
index 48afa2020b00..518da86ce62a 100644
--- a/scripts/kallsyms.c
+++ b/scripts/kallsyms.c
@@ -27,7 +27,7 @@
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0]))
#endif
-#define KSYM_NAME_LEN 255
+#define KSYM_NAME_LEN 128
struct sym_entry {
unsigned long long addr;
OpenPOWER on IntegriCloud