* [PATCH] objtool: bump function name limit to 256 characters
@ 2019-09-20 18:25 Alexey Dobriyan
2019-09-20 19:40 ` Josh Poimboeuf
0 siblings, 1 reply; 3+ messages in thread
From: Alexey Dobriyan @ 2019-09-20 18:25 UTC (permalink / raw)
To: jpoimboe, peterz; +Cc: linux-kernel
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)
{
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] objtool: bump function name limit to 256 characters
2019-09-20 18:25 [PATCH] objtool: bump function name limit to 256 characters Alexey Dobriyan
@ 2019-09-20 19:40 ` Josh Poimboeuf
2019-09-21 8:34 ` Alexey Dobriyan
0 siblings, 1 reply; 3+ messages in thread
From: Josh Poimboeuf @ 2019-09-20 19:40 UTC (permalink / raw)
To: Alexey Dobriyan; +Cc: peterz, linux-kernel
On Fri, Sep 20, 2019 at 09:25:03PM +0300, Alexey Dobriyan wrote:
> 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
Hm, since when do we have mangled symbols in the kernel?
--
Josh
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] objtool: bump function name limit to 256 characters
2019-09-20 19:40 ` Josh Poimboeuf
@ 2019-09-21 8:34 ` Alexey Dobriyan
0 siblings, 0 replies; 3+ messages in thread
From: Alexey Dobriyan @ 2019-09-21 8:34 UTC (permalink / raw)
To: Josh Poimboeuf; +Cc: peterz, linux-kernel
On Fri, Sep 20, 2019 at 02:40:35PM -0500, Josh Poimboeuf wrote:
> On Fri, Sep 20, 2019 at 09:25:03PM +0300, Alexey Dobriyan wrote:
> > 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
>
> Hm, since when do we have mangled symbols in the kernel?
We don't, yet :-)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-09-21 8:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-20 18:25 [PATCH] objtool: bump function name limit to 256 characters Alexey Dobriyan
2019-09-20 19:40 ` Josh Poimboeuf
2019-09-21 8:34 ` Alexey Dobriyan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).