Skip to content

Commit 92fb49e

Browse files
committed
Merge pull request #256 from jpoimboe/no-print-vmlinux-module
kmod/core: don't print "patching module 'vmlinux'"
2 parents ebaa5d3 + 27c80f5 commit 92fb49e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kmod/core/core.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,8 @@ int kpatch_register(struct kpatch_module *kpmod, bool replace)
770770
continue;
771771
}
772772

773-
pr_notice("patching module '%s\n", object->name);
773+
if (strcmp(object->name, "vmlinux"))
774+
pr_notice("patching module '%s'\n", object->name);
774775

775776
list_for_each_entry(func, &object->funcs, list)
776777
func->op = KPATCH_OP_PATCH;

0 commit comments

Comments
 (0)