Skip to contentSkip to conversation

kbuild: fix wrong warning message in modpost

PATCH In review Li Yang 2 participants 2 messages May 14, 2007 Kbuild

lore
Share & tools
lore

Li Yang

author
#0 lore raw

PATCH 1/1 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.

---

scripts/mod/modpost.c | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)
scripts/mod/modpost.c +0 -0
index 113dc77..c89cb71 100644
@@ -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);
	}
}
#1 lore raw
Quoted 2 lines · Li Yang

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