lkml.org 
[lkml]   [2019]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] objtool: bump function name limit to 256 characters
Fix the following warning:

net/core/devlink.o: warning: objtool: _ZL31devlink_nl_sb_tc_pool_bind_fillP7sk_buffP7devlinkP12devlink_portP10devlink_sbt20devlink_sb_pool_type15devlink_commandjji.constprop.0.cold(): parent function name exceeds maximum length of 128 characters

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

tools/objtool/elf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/tools/objtool/elf.c
+++ b/tools/objtool/elf.c
@@ -19,7 +19,7 @@
#include "elf.h"
#include "warn.h"

-#define MAX_NAME_LEN 128
+#define MAX_NAME_LEN 256

struct section *find_section_by_name(struct elf *elf, const char *name)
{
\
 
 \ /
  Last update: 2019-09-20 20:26    [W:0.033 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site