[lkml]   [2007]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject(hacky) [PATCH] silence MODPOST section mismatch warnings
MODPOST seems to be spewing bogus warnings.  It's not clear how best
to fix it so perhaps we should silence it for now?

diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 113dc77..bd6fe7b 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -872,6 +872,10 @@ static void warn_sec_mismatch(const char *modname, const char *fromsec,
const char *secname = secstrings + sechdrs[sym->st_shndx].sh_name;

+ /* FIXME: this function doesn't work correctly anymore, it's
+ * not clear if it should be fixed or removed. */
+ return;
find_symbols_between(elf, r.r_offset, fromsec, &before, &after);

refsym = find_elf_symbol(elf, r.r_addend, sym);
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at
 \ /
  Last update: 2007-05-10 22:37    [W:0.081 / U:16.224 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site