summaryrefslogtreecommitdiffstats
path: root/src/usr/hwas
diff options
context:
space:
mode:
authorElliott Dahle <dedahle@us.ibm.com>2014-04-29 15:53:03 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-05-01 09:43:32 -0500
commita97831697a9864f91b08d0d237a054a06db77161 (patch)
tree394c2955938263e633a81ced4c0ba60b082cc7a3 /src/usr/hwas
parent9a663ac9e4672fa4ddeea79f56ecc9b30c1b70c8 (diff)
downloadblackbird-hostboot-a97831697a9864f91b08d0d237a054a06db77161.tar.gz
blackbird-hostboot-a97831697a9864f91b08d0d237a054a06db77161.zip
Add NULL target check for MBA case in deconfigureByAssoc
Change-Id: Ib19c16772815285907ce1cb82039464edabb1840 CQ: SW259268 Backport: release-fips810 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/10857 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@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/hwas')
-rw-r--r--src/usr/hwas/common/deconfigGard.C8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/usr/hwas/common/deconfigGard.C b/src/usr/hwas/common/deconfigGard.C
index 990d64ce7..cdd34519b 100644
--- a/src/usr/hwas/common/deconfigGard.C
+++ b/src/usr/hwas/common/deconfigGard.C
@@ -1093,6 +1093,14 @@ void DeconfigGard::_deconfigureByAssoc(
// find paired MCS / MEMBUF (Centaur)
const Target *l_partnerMcs = findPartnerForMcs(l_parentMcs);
+ // If partner MCS is non-functional
+ // (findPartnerForMcs returned NULL)
+ if (!l_partnerMcs)
+ {
+ // We're done.
+ break;
+ }
+
// Obtain MBA targets related to paired MCS
TargetHandleList pMbaList;
getChildAffinityTargetsByState(pMbaList,l_partnerMcs,
OpenPOWER on IntegriCloud