Make module signature rejection messages more visible by using pr_err instead of pr_notice.
Signed-off-by: Jinchao Wang <wangjinchao...@gmail.com> --- kernel/module/signing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/module/signing.c b/kernel/module/signing.c index a2ff4242e623..557cb795fa31 100644 --- a/kernel/module/signing.c +++ b/kernel/module/signing.c @@ -117,7 +117,7 @@ int module_sig_check(struct load_info *info, int flags) } if (is_module_sig_enforced()) { - pr_notice("Loading of %s is rejected\n", reason); + pr_err("Loading of %s is rejected\n", reason); return -EKEYREJECTED; } -- 2.43.0