From 66320f5dd513373c916dd2bcfbb15355dedc55d8 Mon Sep 17 00:00:00 2001 From: Claus Michael Olsen Date: Wed, 25 Jan 2017 13:32:51 -0600 Subject: Small fix to TOR API to NOT display dbg msg when passed a ringId that doesn't exist in TOR. (This dbg msg was recently added to the RS4v3 commit 33993 and is causing confusion, so we're putting it under local debug control.) Change-Id: I1b00f5b19951134b3d3517db59639d39e5c257a6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35419 Reviewed-by: Kahn C. Evans Reviewed-by: Richard J. Knight Tested-by: Jenkins Server Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Prachi Gupta Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35438 Reviewed-by: Hostboot Team Tested-by: FSP CI Jenkins Reviewed-by: Sachin Gupta --- src/import/chips/p9/utils/imageProcs/p9_tor.C | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/import/chips/p9/utils/imageProcs/p9_tor.C') diff --git a/src/import/chips/p9/utils/imageProcs/p9_tor.C b/src/import/chips/p9/utils/imageProcs/p9_tor.C index 3eef621e..4949252f 100644 --- a/src/import/chips/p9/utils/imageProcs/p9_tor.C +++ b/src/import/chips/p9/utils/imageProcs/p9_tor.C @@ -541,7 +541,10 @@ int get_ring_from_sbe_image( void* i_ringSection, // Ring section } } - MY_ERR("i_ringId=0x%x is an invalid ring ID for SBE", i_ringId); + if (i_dbgl > 0) + { + MY_DBG("i_ringId=0x%x is an invalid ring ID for SBE\n", i_ringId); + } return TOR_INVALID_RING_ID; -- cgit v1.2.1