[Skiboot] [PATCH v2 05/23] phb3/4: Silence a useless warning
Michael Neuling
mikey at neuling.org
Sun Jun 25 05:17:10 AEST 2017
From: Benjamin Herrenschmidt <benh at kernel.crashing.org>
PHB's don't have base location codes on non-FSP systems and it's
normal.
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Signed-off-by: Michael Neuling <mikey at neuling.org>
---
hw/phb3.c | 2 +-
hw/phb4.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/phb3.c b/hw/phb3.c
index bf043b3f2f..0b4c3c3287 100644
--- a/hw/phb3.c
+++ b/hw/phb3.c
@@ -4683,7 +4683,7 @@ static void phb3_create(struct dt_node *np)
p->phb.base_loc_code = dt_prop_get_def(dt_root,
"ibm,io-base-loc-code", NULL);
if (!p->phb.base_loc_code)
- PHBERR(p, "Base location code not found !\n");
+ PHBDBG(p, "Base location code not found !\n");
/* Priority order: NVRAM -> dt -> GEN3 */
p->max_link_speed = 3;
diff --git a/hw/phb4.c b/hw/phb4.c
index db0cf544fd..a2641b845a 100644
--- a/hw/phb4.c
+++ b/hw/phb4.c
@@ -4074,7 +4074,7 @@ static void phb4_create(struct dt_node *np)
p->phb.base_loc_code = dt_prop_get_def(dt_root,
"ibm,io-base-loc-code", NULL);
if (!p->phb.base_loc_code)
- PHBERR(p, "Base location code not found !\n");
+ PHBDBG(p, "Base location code not found !\n");
/*
* Grab CEC IO VPD load info from the root of the device-tree,
--
2.11.0
More information about the Skiboot
mailing list