projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kbuild: fix module.symvers parsing in modpost
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
scripts
/
mod
/
modpost.c
diff --git
a/scripts/mod/modpost.c
b/scripts/mod/modpost.c
index f27ddb841df8919a745b4c4f3772503718214244..d03c9fff5b2adb2a4a8f5890c2a2c6f8de5b9b4e 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);