aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod/sumversion.c
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mod/sumversion.c')
-rw-r--r--scripts/mod/sumversion.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/mod/sumversion.c b/scripts/mod/sumversion.c
index 8a2875689e4d..6873d5af80d5 100644
--- a/scripts/mod/sumversion.c
+++ b/scripts/mod/sumversion.c
@@ -397,10 +397,9 @@ void get_src_version(const char *modname, char sum[], unsigned sumlen)
397 (int) strlen(basename) - 2, basename); 397 (int) strlen(basename) - 2, basename);
398 398
399 file = grab_file(filelist, &len); 399 file = grab_file(filelist, &len);
400 if (!file) { 400 if (!file)
401 warn("could not find versions for %s\n", filelist); 401 /* not a module or .mod file missing - ignore */
402 return; 402 return;
403 }
404 403
405 sources = strchr(file, '\n'); 404 sources = strchr(file, '\n');
406 if (!sources) { 405 if (!sources) {