summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2006-08-09 10:23:55 +0400
committerSam Ravnborg <sam@neptun.ravnborg.org>2006-09-25 11:01:49 +0400
commit93659af1ce4974b1882668fee06458c0ac9315fd (patch)
treecce1792dc45864a79de718a115b015331a55768c /scripts
parent4635281c8ea26e9f718c28f8f7713d10ad332eff (diff)
downloadlinux-93659af1ce4974b1882668fee06458c0ac9315fd.tar.xz
kbuild: add missing return statement in modpost.c:secref_whitelist()
Noticed by: Magnus Damm <magnus@valinux.co.jp> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mod/modpost.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 5028d46a8f35..16a19353c67f 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -627,6 +627,7 @@ static int secref_whitelist(const char *modname, const char *tosec,
(strcmp(tosec, ".init.text") == 0))
return 1;
}
+ return 0;
}
/**