aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mod')
-rw-r--r--scripts/mod/modpost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index f27ddb841df8..d03c9fff5b2a 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)
1289 if (!(modname = strchr(symname, '\t'))) 1289 if (!(modname = strchr(symname, '\t')))
1290 goto fail; 1290 goto fail;
1291 *modname++ = '\0'; 1291 *modname++ = '\0';
1292 if (!(export = strchr(modname, '\t'))) 1292 if ((export = strchr(modname, '\t')) != NULL)
1293 *export++ = '\0'; 1293 *export++ = '\0';
1294 1294
1295 crc = strtoul(line, &d, 16); 1295 crc = strtoul(line, &d, 16);