diff options
author | Thi Tran <thi@us.ibm.com> | 2015-06-02 10:13:04 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-06-08 13:27:27 -0500 |
commit | 303274baf458cecf8d05cbdc19ac32d254caeee2 (patch) | |
tree | 65f71b2c3fad341212a3cd927ee3381a002305d5 /src/usr | |
parent | 88d80a5413edb09b8862016b6550ec49d18acd90 (diff) | |
download | talos-hostboot-303274baf458cecf8d05cbdc19ac32d254caeee2.tar.gz talos-hostboot-303274baf458cecf8d05cbdc19ac32d254caeee2.zip |
Fix FSP compiler warnings under src/hbfw component
Change-Id: If914c5e8b7a778544d61a9cd41bfaa7e38d9498e
CQ:SW309001
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18074
Tested-by: Jenkins Server
Reviewed-by: Thi N. Tran <thi@us.ibm.com>
Reviewed-by: Brian H. Horton <brianh@linux.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr')
-rwxr-xr-x | src/usr/hwpf/plat/fapiPlatCreateHwpErrParser.pl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/usr/hwpf/plat/fapiPlatCreateHwpErrParser.pl b/src/usr/hwpf/plat/fapiPlatCreateHwpErrParser.pl index 1f30016b8..076bb65ad 100755 --- a/src/usr/hwpf/plat/fapiPlatCreateHwpErrParser.pl +++ b/src/usr/hwpf/plat/fapiPlatCreateHwpErrParser.pl @@ -6,7 +6,9 @@ # # OpenPOWER HostBoot Project # -# COPYRIGHT International Business Machines Corp. 2012,2014 +# Contributors Listed Below - COPYRIGHT 2012,2015 +# [+] International Business Machines Corp. +# # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -25,7 +27,7 @@ # # Purpose: This perl script will parse HWP Error XML files and create a # file containing functions that parses the return code and FFDC -# data in HWP error logs +# data in HWP error logs. # # Author: Mike Jones # @@ -145,7 +147,7 @@ print TGFILE " const uint32_t CFAM_DATA_LEN = 4;\n"; print TGFILE " const uint32_t SCOM_DATA_LEN = 8;\n"; print TGFILE " const uint32_t POS_LEN = 4;\n"; print TGFILE " uint8_t * l_pBuffer = static_cast<uint8_t *>(i_pBuffer);\n"; -print TGFILE " int32_t l_buflen = i_buflen;\n\n"; +print TGFILE " uint32_t l_buflen = i_buflen;\n\n"; print TGFILE " // The first uint32_t is the FFDC ID\n"; print TGFILE " uint32_t * l_pFfdcId = static_cast<uint32_t *>(i_pBuffer);\n"; print TGFILE " uint32_t l_ffdcId = ntohl(*l_pFfdcId);\n"; |