[PATCH 15/28] kbuild: add missing return statement in modpost.c:secref_whitelist()

From: sam
Date: Sun Sep 24 2006 - 17:20:09 EST


From: Sam Ravnborg <sam@xxxxxxxxxxxxxxxxx>

Noticed by: Magnus Damm <magnus@xxxxxxxxxxxxx>

Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx>
---
scripts/mod/modpost.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 5028d46..16a1935 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -627,6 +627,7 @@ static int secref_whitelist(const char *
(strcmp(tosec, ".init.text") == 0))
return 1;
}
+ return 0;
}

/**
--
1.4.1

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/