diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index a5c17db14ee53efefe9f5540b5d315fc21eaf671..268d4571664dcc7a5531b6b5a62d0f1d3673b024 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -727,7 +727,7 @@ int match(const char *sym, const char * const pat[]) /* sections that we do not want to do full section mismatch check on */ static const char *section_white_list[] = - { ".comment", ".debug*", ".stab*", ".note*", ".got*", ".toc*", NULL }; + { ".comment*", ".debug*", ".stab*", ".note*", ".got*", ".toc*", NULL }; /* * This is used to find sections missing the SHF_ALLOC flag.