[PATCH] kill some false positives from modpost

From: Al Viro
Date: Wed Jun 14 2006 - 13:05:12 EST


Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>

---

scripts/mod/modpost.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)

919db28eefd21a9c9f7d790c9f37694bad3a0b9a
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 0b92ddf..cd94d6a 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -768,6 +768,8 @@ static int init_section_ref_ok(const cha
".pci_fixup_final",
".pdr",
"__param",
+ "__ex_table",
+ ".fixup",
NULL
};
/* Start of section names */
@@ -793,6 +795,8 @@ static int init_section_ref_ok(const cha
for (s = namelist3; *s; s++)
if (strstr(name, *s) != NULL)
return 1;
+ if (strrcmp(name, ".init") == 0)
+ return 1;
return 0;
}

@@ -837,6 +841,8 @@ static int exit_section_ref_ok(const cha
".exitcall.exit",
".eh_frame",
".stab",
+ "__ex_table",
+ ".fixup",
NULL
};
/* Start of section names */
--
1.3.GIT

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/