diff --git a/[refs] b/[refs] index 60cd07b9357f..d54f0c9544a8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9209aed0726c77ad13b8d83e73a3cf9f59a8c2b2 +refs/heads/master: e835a39c1c1f023ef443f735b0e98b08660ae0e4 diff --git a/trunk/scripts/mod/modpost.c b/trunk/scripts/mod/modpost.c index c4dc1d72d02e..3b570b18c2e4 100644 --- a/trunk/scripts/mod/modpost.c +++ b/trunk/scripts/mod/modpost.c @@ -776,7 +776,7 @@ static int init_section_ref_ok(const char *name) if (strncmp(*s, name, strlen(*s)) == 0) return 1; for (s = namelist3; *s; s++) - if (strstr(*s, name) != NULL) + if (strstr(name, *s) != NULL) return 1; return 0; } @@ -842,7 +842,7 @@ static int exit_section_ref_ok(const char *name) if (strncmp(*s, name, strlen(*s)) == 0) return 1; for (s = namelist3; *s; s++) - if (strstr(*s, name) != NULL) + if (strstr(name, *s) != NULL) return 1; return 0; }