From de3efadea3db1139d6120058b4bc928f8365e23d Mon Sep 17 00:00:00 2001 From: crgeddes Date: Thu, 17 Mar 2016 11:21:38 -0500 Subject: Force isFusedMode function to return RC In order to make the macro work the attr must return and RC in this case the RC will always be success Change-Id: I822e19063a6d4e1f5d1c9f2a8d987507fe2a74ea Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22193 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Andrew J. Geissler Reviewed-by: Martin Gloff Reviewed-by: Daniel M. Crowell --- src/include/usr/fapi2/attribute_service.H | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/include/usr/fapi2') diff --git a/src/include/usr/fapi2/attribute_service.H b/src/include/usr/fapi2/attribute_service.H index b6939cbe1..5716d38a8 100644 --- a/src/include/usr/fapi2/attribute_service.H +++ b/src/include/usr/fapi2/attribute_service.H @@ -198,9 +198,11 @@ ReturnCode platGetTargetPos(const Target& i_pFapiTarget, /// /// /// @param[out] o_isFused 0 if not fused -/// @return void +/// @return ReturnCode Always FAPI2_RC_SUCCESS, this cannot fail +/// if a toplevel target cannot be found then +/// an assert triggers in the platform call /// -void platGetFusedCoreMode(uint8_t & o_isFused); +ReturnCode platGetFusedCoreMode(uint8_t & o_isFused); // ----------------------------------------------------------------------------- // End TODO: End to be supported functions -- cgit v1.2.3