summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/errl/errlentry.C9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/usr/errl/errlentry.C b/src/usr/errl/errlentry.C
index 7c46edff4..398a1a70b 100644
--- a/src/usr/errl/errlentry.C
+++ b/src/usr/errl/errlentry.C
@@ -422,7 +422,14 @@ void ErrlEntry::addHwCallout(const TARGETING::Target *i_target,
const HWAS::DeconfigEnum i_deconfigState,
const HWAS::GARD_ErrorType i_gardErrorType)
{
-
+ if (i_target == nullptr)
+ {
+ TRACFCOMP(g_trac_errl, ENTER_MRK
+ "addHwCallout called with NULL target");
+ addProcedureCallout( HWAS::EPUB_PRC_HB_CODE,
+ HWAS::SRCI_PRIORITY_HIGH);
+ return;
+ }
if (i_target == TARGETING::MASTER_PROCESSOR_CHIP_TARGET_SENTINEL)
{
OpenPOWER on IntegriCloud