aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2014-11-12 09:42:53 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-24 12:33:05 -0500
commit6df43c9b4d87b6767debdfa8318c5374415e8fc0 (patch)
tree713ac24c077e626695555ed3944e8f2d8838ab21 /drivers/base
parent6386a15c445c1cd0108671a0078a4b65af89799c (diff)
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: Sudeep Holla <sudeep.holla@arm.com> Reported-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/cacheinfo.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/base/cacheinfo.c b/drivers/base/cacheinfo.c
index 8ed4ea1f3716..6e64563361f0 100644
--- a/drivers/base/cacheinfo.c
+++ b/drivers/base/cacheinfo.c
@@ -520,10 +520,8 @@ static int __init cacheinfo_sysfs_init(void)
520 520
521 for_each_online_cpu(cpu) { 521 for_each_online_cpu(cpu) {
522 rc = detect_cache_attributes(cpu); 522 rc = detect_cache_attributes(cpu);
523 if (rc) { 523 if (rc)
524 pr_err("error detecting cacheinfo..cpu%d\n", cpu);
525 goto out; 524 goto out;
526 }
527 rc = cache_add_dev(cpu); 525 rc = cache_add_dev(cpu);
528 if (rc) { 526 if (rc) {
529 free_cache_attributes(cpu); 527 free_cache_attributes(cpu);