aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
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 6c145d6e89de..0a4051fbd34e 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -709,6 +709,7 @@ static int secref_whitelist(const char *modname, const char *tosec,
709 709
710 /* Check for pattern 0 */ 710 /* Check for pattern 0 */
711 if ((strncmp(fromsec, ".text.init.refok", strlen(".text.init.refok")) == 0) || 711 if ((strncmp(fromsec, ".text.init.refok", strlen(".text.init.refok")) == 0) ||
712 (strncmp(fromsec, ".exit.text.refok", strlen(".exit.text.refok")) == 0) ||
712 (strncmp(fromsec, ".data.init.refok", strlen(".data.init.refok")) == 0)) 713 (strncmp(fromsec, ".data.init.refok", strlen(".data.init.refok")) == 0))
713 return 1; 714 return 1;
714 715