summaryrefslogtreecommitdiffstats
path: root/scripts/mod
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/mod
parentkbuild: preperly align SYSMAP output (diff)
downloadlinux-93659af1ce4974b1882668fee06458c0ac9315fd.tar.xz
linux-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/mod')
-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;
}
/**