Skip to content

Commit

Permalink
phb3/4: Silence a useless warning
Browse files Browse the repository at this point in the history
PHB's don't have base location codes on non-FSP systems and it's
normal.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
  • Loading branch information
ozbenh authored and stewartsmith committed Jun 26, 2017
1 parent 077fdef commit 82546c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hw/phb3.c
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion hw/phb4.c
Expand Up @@ -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,
Expand Down

0 comments on commit 82546c6

Please sign in to comment.