diff --git a/kpatch-build/create-diff-object.c b/kpatch-build/create-diff-object.c index 6daaa31..a7c7ae0 100644 --- a/kpatch-build/create-diff-object.c +++ b/kpatch-build/create-diff-object.c @@ -2296,6 +2296,10 @@ static void kpatch_mark_ignored_functions_same(struct kpatch_elf *kelf) log_normal("NOTICE: no change detected in function %s, unnecessary KPATCH_IGNORE_FUNCTION()?\n", rela->sym->name); rela->sym->status = SAME; rela->sym->sec->status = SAME; + + if (rela->sym->child) + rela->sym->child->status = SAME; + if (rela->sym->sec->secsym) rela->sym->sec->secsym->status = SAME; if (rela->sym->sec->rela)