diff --git a/kmod/core/core.c b/kmod/core/core.c index 5698faea4..5c0917483 100644 --- a/kmod/core/core.c +++ b/kmod/core/core.c @@ -770,7 +770,8 @@ int kpatch_register(struct kpatch_module *kpmod, bool replace) continue; } - pr_notice("patching module '%s\n", object->name); + if (strcmp(object->name, "vmlinux")) + pr_notice("patching module '%s'\n", object->name); list_for_each_entry(func, &object->funcs, list) func->op = KPATCH_OP_PATCH;