mirror of
https://github.com/dynup/kpatch
synced 2025-01-18 02:50:49 +00:00
create-diff-object: propagate ignore.functions to children
Add child symbols to .kpatch.ignore.functions in case their parents are added to the list. Signed-off-by: Artem Savkov <asavkov@redhat.com>
This commit is contained in:
parent
2ac1387701
commit
61839832ed
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user