2007-05-14 10:03:13

by Li Yang

[permalink] [raw]
Subject: [PATCH] kbuild: fix wrong warning message in modpost

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);
}
}


2007-05-14 11:04:25

by Sam Ravnborg

[permalink] [raw]
Subject: Re: [PATCH] kbuild: fix wrong warning message in modpost

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