kbuild: fix wrong warning message in modpost
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.
Signed-off-by Li Yang <[email protected]>
---
scripts/mod/modpost.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
scripts/mod/modpost.c +0 -0
@@ -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);
}
}Quoted 2 lines · Li Yang
One of the "Section mismatch" warning message in
modpost.cis 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