提交 6df43c9b 编写于 作者: S Sudeep Holla 提交者: Greg Kroah-Hartman

drivers/base: cacheinfo: remove noisy error boot message

On systems that don't support cacheinfo, this error message can be
considered noisy and irrelevant. The error messages can be added to
the functions that architectures implement overiding the weak default
definition if really required.

This patch removes the concerned error message in the generic code.
Signed-off-by: NSudeep Holla <sudeep.holla@arm.com>
Reported-by: NFabio Estevam <festevam@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 6386a15c
......@@ -520,10 +520,8 @@ static int __init cacheinfo_sysfs_init(void)
for_each_online_cpu(cpu) {
rc = detect_cache_attributes(cpu);
if (rc) {
pr_err("error detecting cacheinfo..cpu%d\n", cpu);
if (rc)
goto out;
}
rc = cache_add_dev(cpu);
if (rc) {
free_cache_attributes(cpu);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册