diff options
author | Laurent Riffard <laurent.riffard@free.fr> | 2006-06-11 06:02:06 (GMT) |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-06-16 21:45:45 (GMT) |
commit | 9ac545b0f7161eaf2e180acc406c1dd6fdd77686 (patch) | |
tree | 641d17f54937941fa198c75992491fe1eaac975f | |
parent | 566f81ca598f80de03e80a9a743e94b65b4e017e (diff) | |
download | linux-fsl-qoriq-9ac545b0f7161eaf2e180acc406c1dd6fdd77686.tar.xz |
kbuild: fix module.symvers parsing in modpost
read_dump didn't split lines between module name and export type.
Signed-off-by: Laurent Riffard <laurent.riffard@free.fr>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-rw-r--r-- | 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 f27ddb8..d03c9ff 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -1289,7 +1289,7 @@ static void read_dump(const char *fname, unsigned int kernel) if (!(modname = strchr(symname, '\t'))) goto fail; *modname++ = '\0'; - if (!(export = strchr(modname, '\t'))) + if ((export = strchr(modname, '\t')) != NULL) *export++ = '\0'; crc = strtoul(line, &d, 16); |