Skip to content

Commit

Permalink
kallsyms: increase KSYM_NAME_LEN both in kernel and kallsyms.c
Browse files Browse the repository at this point in the history
Signed-off-by: clarencelol <[email protected]>
Signed-off-by: Anush02198 <[email protected]>
  • Loading branch information
flar2 authored and Anush02198 committed Jun 30, 2021
1 parent e840593 commit 099c0e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/linux/kallsyms.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#include <asm/sections.h>

#define KSYM_NAME_LEN 128
#define KSYM_NAME_LEN 256
#define KSYM_SYMBOL_LEN (sizeof("%s+%#lx/%#lx [%s]") + (KSYM_NAME_LEN - 1) + \
2*(BITS_PER_LONG*3/10) + (MODULE_NAME_LEN - 1) + 1)

Expand Down
2 changes: 1 addition & 1 deletion scripts/kallsyms.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0]))
#endif

#define KSYM_NAME_LEN 128
#define KSYM_NAME_LEN 256

struct sym_entry {
unsigned long long addr;
Expand Down

0 comments on commit 099c0e1

Please sign in to comment.