One of the "Section mismatch" warning message in modpost.c
is in wrong format. This patch fix it.
Signed-off-by: Li Yang <[email protected]>
---
scripts/mod/modpost.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 113dc77..c89cb71 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -906,7 +906,7 @@ static void warn_sec_mismatch(const char *modname, const char *fromsec,
} else {
warn("%s - Section mismatch: reference to %s:%s from %s "
"(offset 0x%llx)\n",
- modname, secname, fromsec, refsymname,
+ modname, secname, refsymname, fromsec,
(long long)r.r_offset);
}
}
On Mon, May 14, 2007 at 06:04:28PM +0800, Li Yang wrote:
> One of the "Section mismatch" warning message in modpost.c
> is in wrong format. This patch fix it.
Thanks.
I have another patch from Russell King that
fixes this and on top of that makes the warnings more
readable. So I will apply his patch.
Sam