Skip to content

Commit 3df3c9b

Browse files
Nick Bofferdingdcrowell77
authored andcommitted
Only display ERRL user details callouts/strings when dumping error to console
This commit fixes a bug wherein, when Hostboot dumped an error log to the console that contained user details with the same subsection ID as an ERRL string but for a different component ID, the information, which was often in binary format, would appear garbled, and would additionally terminate the BMC's SOL session due to invalid characters. The change narrows the scope of what gets emitted to just ERRL component strings/callouts. Change-Id: Ifbe83448a56955d44f0e775e123ffb95a6330b8a CQ: SW463437 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/76392 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
1 parent 387ed5a commit 3df3c9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/usr/errldisplay/errldisplay.C

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/* */
66
/* OpenPOWER HostBoot Project */
77
/* */
8-
/* Contributors Listed Below - COPYRIGHT 2013,2017 */
8+
/* Contributors Listed Below - COPYRIGHT 2013,2019 */
99
/* [+] Google Inc. */
1010
/* [+] International Business Machines Corp. */
1111
/* */
@@ -701,7 +701,7 @@ void ErrLogDisplay::msgDisplay (const errlHndl_t &i_err,
701701
displayHwpf( user_data->iv_pData, user_data->iv_Size,
702702
user_data->iv_header.iv_sst);
703703
}
704-
else
704+
else if(user_data->iv_header.iv_compId == ERRL_COMP_ID)
705705
{
706706
switch ( user_data->iv_header.iv_sst )
707707
{

0 commit comments

Comments
 (0)