diff options
-rw-r--r-- | kernel/module.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/module.c b/kernel/module.c index 5088784c0cf9..330f64e7e193 100644 --- a/kernel/module.c +++ b/kernel/module.c | |||
@@ -2812,6 +2812,8 @@ static int check_modinfo_livepatch(struct module *mod, struct load_info *info) | |||
2812 | if (get_modinfo(info, "livepatch")) { | 2812 | if (get_modinfo(info, "livepatch")) { |
2813 | mod->klp = true; | 2813 | mod->klp = true; |
2814 | add_taint_module(mod, TAINT_LIVEPATCH, LOCKDEP_STILL_OK); | 2814 | add_taint_module(mod, TAINT_LIVEPATCH, LOCKDEP_STILL_OK); |
2815 | pr_notice_once("%s: tainting kernel with TAINT_LIVEPATCH\n", | ||
2816 | mod->name); | ||
2815 | } | 2817 | } |
2816 | 2818 | ||
2817 | return 0; | 2819 | return 0; |