diff options
author | Michal Marek <mmarek@suse.cz> | 2013-11-11 08:23:08 -0500 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2013-11-13 09:58:19 -0500 |
commit | 480f439c3db0d45d817d66caf3fa8e81a6fac01a (patch) | |
tree | 924d5d353b2b5ff72a6a1014053a2b6847718075 /scripts | |
parent | ab7474ea5361f5fe883feb5ae637a1c948df1507 (diff) |
kallsyms: Revert back to 128 max symbol length
This reverts commits
f3462aa (Kbuild: Handle longer symbols in kallsyms.c) and
eea0e9c (kbuild: Increase kallsyms max symbol length)
except for the added overflow check. The reason is a regression caused
by increasing the buffer:
http://marc.info/?l=linux-kernel&m=138387700415675.
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Joe Mario <jmario@redhat.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/kallsyms.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
27 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0])) | 27 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0])) |
28 | #endif | 28 | #endif |
29 | 29 | ||
30 | #define KSYM_NAME_LEN 255 | 30 | #define KSYM_NAME_LEN 128 |
31 | 31 | ||
32 | struct sym_entry { | 32 | struct sym_entry { |
33 | unsigned long long addr; | 33 | unsigned long long addr; |