]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - scripts/mod/sumversion.c
drivers/base/platform.c: fix small typo in doc
[linux-2.6-omap-h63xx.git] / scripts / mod / sumversion.c
index 8a2875689e4da48202ddc87468a23e0e8db58c58..6873d5af80d584abe3b988d5b0d2a74ae01b87a6 100644 (file)
@@ -397,10 +397,9 @@ void get_src_version(const char *modname, char sum[], unsigned sumlen)
                (int) strlen(basename) - 2, basename);
 
        file = grab_file(filelist, &len);
-       if (!file) {
-               warn("could not find versions for %s\n", filelist);
+       if (!file)
+               /* not a module or .mod file missing - ignore */
                return;
-       }
 
        sources = strchr(file, '\n');
        if (!sources) {