Skip to content

Commit

Permalink
Merge pull request #256 from jpoimboe/no-print-vmlinux-module
Browse files Browse the repository at this point in the history
kmod/core: don't print "patching module 'vmlinux'"
  • Loading branch information
sjenning committed Jun 20, 2014
2 parents ebaa5d3 + 27c80f5 commit 92fb49e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kmod/core/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 92fb49e

Please sign in to comment.