summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Donnellan <andrew.donnellan@au1.ibm.com>2017-06-22 16:47:27 +1000
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-06-26 00:21:59 -0400
commit3fbdd8cb6e8525cf2e971e6b2de8c92cbd137887 (patch)
tree0e7e2d7fb57d6b198e3df62101348eb1afe4cec0 /src
parentfb3dfe1aa65ba35c121ac68151f2aca77e711a61 (diff)
downloadtalos-hostboot-3fbdd8cb6e8525cf2e971e6b2de8c92cbd137887.tar.gz
talos-hostboot-3fbdd8cb6e8525cf2e971e6b2de8c92cbd137887.zip
fapi2: Correct function name in platPutScom() error message
platPutScom() calls deviceWrite(), not deviceRead(). Fix the error message accordingly. Resolves #106 Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Change-Id: Ieee862491b322e8b089a81b93da124ef8b8d932b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42305 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/usr/fapi2/plat_hw_access.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/fapi2/plat_hw_access.C b/src/usr/fapi2/plat_hw_access.C
index 88686c1f7..d0969d760 100644
--- a/src/usr/fapi2/plat_hw_access.C
+++ b/src/usr/fapi2/plat_hw_access.C
@@ -179,7 +179,7 @@ ReturnCode platPutScom(const Target<TARGET_TYPE_ALL>& i_target,
}
else
{
- FAPI_ERR("platPutScom: deviceRead returns error!");
+ FAPI_ERR("platPutScom: deviceWrite returns error!");
FAPI_ERR("platPutScom failed - Target %s, Addr %.16llX",
l_targName, i_address);
l_rc.setPlatDataPtr(reinterpret_cast<void *> (l_err));
OpenPOWER on IntegriCloud