projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
566f81c
)
kbuild: fix module.symvers parsing in modpost
author
Laurent Riffard
<laurent.riffard@free.fr>
Sun, 11 Jun 2006 06:02:06 +0000
(08:02 +0200)
committer
Sam Ravnborg
<sam@mars.ravnborg.org>
Fri, 16 Jun 2006 21:45:45 +0000
(23:45 +0200)
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>
scripts/mod/modpost.c
patch
|
blob
|
history
diff --git
a/scripts/mod/modpost.c
b/scripts/mod/modpost.c
index
f27ddb8
..
d03c9ff
100644
(file)
--- 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);