Lines Matching refs:mismatch
38 /* Warn about section mismatch in vmlinux if set to 1 */
788 /* sections that we do not want to do full section mismatch check on */
888 enum mismatch {
903 enum mismatch mismatch;
914 .mismatch = TEXT_TO_ANY_INIT,
920 .mismatch = DATA_TO_ANY_INIT,
926 .mismatch = DATA_TO_ANY_INIT,
935 .mismatch = TEXT_TO_ANY_EXIT,
941 .mismatch = DATA_TO_ANY_EXIT,
948 .mismatch = XXXINIT_TO_SOME_INIT,
955 .mismatch = XXXINIT_TO_SOME_INIT,
962 .mismatch = XXXINIT_TO_SOME_INIT,
969 .mismatch = XXXEXIT_TO_SOME_EXIT,
976 .mismatch = XXXEXIT_TO_SOME_EXIT,
983 .mismatch = XXXEXIT_TO_SOME_EXIT,
990 .mismatch = ANY_INIT_TO_ANY_EXIT,
997 .mismatch = ANY_EXIT_TO_ANY_INIT,
1004 .mismatch = EXPORT_TO_INIT_EXIT,
1069 static int secref_whitelist(const struct sectioncheck *mismatch,
1088 match(fromsym, mismatch->symbol_white_list))
1248 * Print a warning about a section mismatch.
1253 const struct sectioncheck *mismatch,
1281 warn("%s(%s+0x%llx): Section mismatch in reference from the %s %s%s "
1286 switch (mismatch->mismatch) {
1303 const char *const *s = mismatch->symbol_white_list;
1328 const char *const *s = mismatch->symbol_white_list;
1408 const struct sectioncheck *mismatch;
1411 mismatch = section_mismatch(fromsec, tosec);
1412 if (mismatch) {
1424 if (secref_whitelist(mismatch,
1426 report_sec_mismatch(modname, mismatch,
2151 warn("modpost: Found %d section mismatch(es).\n"