summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2006-08-09 08:23:55 +0200
committerSam Ravnborg <sam@neptun.ravnborg.org>2006-09-25 09:01:49 +0200
commit93659af1ce4974b1882668fee06458c0ac9315fd (patch)
treecce1792dc45864a79de718a115b015331a55768c /scripts
parent4635281c8ea26e9f718c28f8f7713d10ad332eff (diff)
downloadlinux-3.10-93659af1ce4974b1882668fee06458c0ac9315fd.tar.gz
linux-3.10-93659af1ce4974b1882668fee06458c0ac9315fd.tar.bz2
linux-3.10-93659af1ce4974b1882668fee06458c0ac9315fd.zip
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 5028d46a8f3..16a19353c67 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;
}
/**