kbuild: add missing return statement in modpost.c:secref_whitelist()
Sam Ravnborg [Wed, 9 Aug 2006 06:23:55 +0000 (08:23 +0200)]
Noticed by: Magnus Damm <magnus@valinux.co.jp>

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>

scripts/mod/modpost.c

index 5028d46..16a1935 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;
 }
 
 /**