mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 06:01:23 +00:00
kallsyms: Revert back to 128 max symbol length
This reverts commitsf3462aa
(Kbuild: Handle longer symbols in kallsyms.c) andeea0e9c
(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>
This commit is contained in:
parent
ab7474ea53
commit
480f439c3d
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue