Commit 8fc0da9f authored by GONG Ruiqi's avatar GONG Ruiqi
Browse files

ima: rot: remove misguiding message printing

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IB5YWN


CVE: NA

--------------------------------

Remove the ".. failed to self-initialize" printing following the failure
of an RoT candidate's initialization, as it may raise unnessary concerns
from users, who may be misguided and think this message indicates some
sort of serious problems.

Fixes: 03601238 ("ima: rot: Introduce basic framework")
Signed-off-by: default avatarGONG Ruiqi <gongruiqi1@huawei.com>
parent ab293c3a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -79,7 +79,6 @@ struct ima_rot * __init ima_rot_init(void)
			pr_info("%s initialized and taken as IMA RoT\n", ima_rots[i].name);
			return &ima_rots[i];
		}
		pr_info("%s failed to self-initialize\n", ima_rots[i].name);
	}

	return NULL;