]> err.no Git - linux-2.6/commitdiff
kbuild: add missing return statement in modpost.c:secref_whitelist()
authorSam Ravnborg <sam@mars.ravnborg.org>
Wed, 9 Aug 2006 06:23:55 +0000 (08:23 +0200)
committerSam Ravnborg <sam@neptun.ravnborg.org>
Mon, 25 Sep 2006 07:01:49 +0000 (09:01 +0200)
Noticed by: Magnus Damm <magnus@valinux.co.jp>

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/mod/modpost.c

index 5028d46a8f3572a4e3f5296d051601c3724a78b3..16a19353c67f1fd1790326b1b5be9be0c3c57a58 100644 (file)
@@ -627,6 +627,7 @@ static int secref_whitelist(const char *modname, const char *tosec,
                    (strcmp(tosec, ".init.text") == 0))
                return 1;
        }
+       return 0;
 }
 
 /**