diff options
author | Stephen Cprek <smcprek@us.ibm.com> | 2015-12-14 14:19:48 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-12-17 15:59:31 -0600 |
commit | d9b1e8ebe2f4e943cc171f7b6b05e743a602d401 (patch) | |
tree | ee9de37c23223974a27cf5b03e77a41b4d410d20 /src/import/hwpf/fapi2/src/ffdc.C | |
parent | e05e5d694e0652c73aa652d3aee67bf0d9ec2193 (diff) | |
download | talos-hostboot-d9b1e8ebe2f4e943cc171f7b6b05e743a602d401.tar.gz talos-hostboot-d9b1e8ebe2f4e943cc171f7b6b05e743a602d401.zip |
Fix all incorrect copyright prologs
Change-Id: I293e79b5a37bf4180f6dd19d259fac3434327fb3
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22759
Tested-by: Jenkins Server
Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com>
Reviewed-by: PRACHI GUPTA <pragupta@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22767
Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/import/hwpf/fapi2/src/ffdc.C')
-rw-r--r-- | src/import/hwpf/fapi2/src/ffdc.C | 55 |
1 files changed, 26 insertions, 29 deletions
diff --git a/src/import/hwpf/fapi2/src/ffdc.C b/src/import/hwpf/fapi2/src/ffdc.C index efe922ea3..c8115ca5d 100644 --- a/src/import/hwpf/fapi2/src/ffdc.C +++ b/src/import/hwpf/fapi2/src/ffdc.C @@ -1,23 +1,19 @@ /* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ -/* $Source: $ */ +/* $Source: hwpf/fapi2/src/ffdc.C $ */ /* */ -/* OpenPOWER HostBoot Project */ +/* IBM CONFIDENTIAL */ /* */ -/* COPYRIGHT International Business Machines Corp. 2011,2014 */ +/* EKB Project */ /* */ -/* Licensed under the Apache License, Version 2.0 (the "License"); */ -/* you may not use this file except in compliance with the License. */ -/* You may obtain a copy of the License at */ +/* COPYRIGHT 2011,2015 */ +/* [+] International Business Machines Corp. */ /* */ -/* http://www.apache.org/licenses/LICENSE-2.0 */ /* */ -/* Unless required by applicable law or agreed to in writing, software */ -/* distributed under the License is distributed on an "AS IS" BASIS, */ -/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ -/* implied. See the License for the specific language governing */ -/* permissions and limitations under the License. */ +/* The source code for this program is not published or otherwise */ +/* divested of its trade secrets, irrespective of what has been */ +/* deposited with the U.S. Copyright Office. */ /* */ /* IBM_PROLOG_END_TAG */ /** @@ -32,25 +28,26 @@ namespace fapi2 { - /// - /// @brief Add error information to this ffdc object - /// @param[in] A pointer to a list of objects - /// @param[in] A pointer to the list of entries - /// @param[in] The count of how many entries there are - /// @return void - /// - template<> - void FirstFailureData<ReturnCode>::addErrorInfo( - const void* const* i_pObjects, - const ErrorInfoEntry* i_pEntries, - const uint8_t i_count) +/// +/// @brief Add error information to this ffdc object +/// @param[in] A pointer to a list of objects +/// @param[in] A pointer to the list of entries +/// @param[in] The count of how many entries there are +/// @return void +/// +template<> +void FirstFailureData<ReturnCode>::addErrorInfo( + const void* const* i_pObjects, + const ErrorInfoEntry* i_pEntries, + const uint8_t i_count) +{ + FAPI_DBG("%d entries", i_count); + + for (uint32_t i = 0; i < i_count; i++) { - FAPI_DBG("%d entries", i_count); - for (uint32_t i = 0; i < i_count; i++) - { - i_pEntries[i].addErrorInfo(iv_info, i_pObjects); - } + i_pEntries[i].addErrorInfo(iv_info, i_pObjects); } +} |