From 06b768407e1d6e212aeed8be23f31dfb27f2a9cc Mon Sep 17 00:00:00 2001 From: Van Lee Date: Wed, 18 Jan 2012 11:20:33 -0600 Subject: Common Errl FFDC Classes: DCUT - RTC4289 Change-Id: Ie0c7cc6422d30fe0b5449eb54aaa62ebb54774e7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/618 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III --- src/usr/hwpf/test/hwpftest.H | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/usr/hwpf/test/hwpftest.H') diff --git a/src/usr/hwpf/test/hwpftest.H b/src/usr/hwpf/test/hwpftest.H index 6368e93d5..4776ea41e 100644 --- a/src/usr/hwpf/test/hwpftest.H +++ b/src/usr/hwpf/test/hwpftest.H @@ -49,7 +49,7 @@ struct hwpfTestArgs_t { ifScom_t ifScom; fapi::Target fapiTarget; uint32_t count; - tid_t tid; + tid_t tid; struct { uint64_t Write:1; // 1 = Write uint64_t AttrTest:1; // 1 = run Attr access test @@ -393,15 +393,13 @@ public: TARGETING::Target* l_pTarget = NULL; TARGETING::targetService().masterProcChipTargetHandle(l_pTarget); - // Create a FAPI Target and invoke the hwpInitialTest HWP fapi::Target l_fapiTarget(TARGET_TYPE_PROC_CHIP, reinterpret_cast (l_pTarget)); // Test ATTR_EC attribute access through FAPI uint8_t l_EC_R = 0xFF; - fapi::Target *l_pfapiTarget = &l_fapiTarget; - l_rc = FAPI_ATTR_GET(ATTR_EC, l_pfapiTarget, l_EC_R); + l_rc = FAPI_ATTR_GET(ATTR_EC, &l_fapiTarget, l_EC_R); if (l_rc != fapi::FAPI_RC_SUCCESS) { TS_FAIL("testHwpf5: ATTR_EC. Error from GET"); -- cgit v1.2.1