5
5
/* */
6
6
/* OpenPOWER HostBoot Project */
7
7
/* */
8
- /* Contributors Listed Below - COPYRIGHT 2012,2021 */
8
+ /* Contributors Listed Below - COPYRIGHT 2012,2022 */
9
9
/* [+] International Business Machines Corp. */
10
10
/* */
11
11
/* */
@@ -208,7 +208,7 @@ errlHndl_t TodControls::buildTodDrawers(
208
208
if (nullptr == l_pSysTarget )
209
209
{
210
210
//We should not be reaching here without a valid system target
211
- TOD_ERR_ASSERT ("buildTodDrawers: nullptr system target " );
211
+ TOD_ERR_ASSERT (false, "buildTodDrawers: nullptr system target " );
212
212
break ;
213
213
}
214
214
@@ -250,7 +250,7 @@ errlHndl_t TodControls::buildTodDrawers(
250
250
iv_todConfig [i_config ].iv_todDrawerList ;
251
251
if (!l_todDrawerList .empty ())
252
252
{
253
- TOD_ERR_ASSERT ("TOD drawer list must be empty" );
253
+ TOD_ERR_ASSERT (false, "TOD drawer list must be empty" );
254
254
break ;
255
255
}
256
256
@@ -1124,13 +1124,13 @@ void TodControls ::setMdmtOfActiveConfig(
1124
1124
{
1125
1125
if ( !i_mdmt )
1126
1126
{
1127
- TOD_ERR_ASSERT ("Software error input MDMT must not be nullptr" );
1127
+ TOD_ERR_ASSERT (false, "Software error input MDMT must not be nullptr" );
1128
1128
break ;
1129
1129
}
1130
1130
1131
1131
if ( !i_masterDrawer )
1132
1132
{
1133
- TOD_ERR_ASSERT ("Software error input master drawer must not be "
1133
+ TOD_ERR_ASSERT (false, "Software error input master drawer must not be "
1134
1134
" nullptr" );
1135
1135
break ;
1136
1136
}
@@ -1161,13 +1161,13 @@ errlHndl_t TodControls::setMdmt(const p10_tod_setup_tod_sel i_config,
1161
1161
{
1162
1162
if (!i_mdmt )
1163
1163
{
1164
- TOD_ERR_ASSERT ("Software error input MDMT must not be nullptr" );
1164
+ TOD_ERR_ASSERT (false, "Software error input MDMT must not be nullptr" );
1165
1165
break ;
1166
1166
}
1167
1167
1168
1168
if (!i_masterDrawer )
1169
1169
{
1170
- TOD_ERR_ASSERT ("Software error input master drawer must not be "
1170
+ TOD_ERR_ASSERT (false, "Software error input master drawer must not be "
1171
1171
" nullptr" );
1172
1172
break ;
1173
1173
}
@@ -1202,7 +1202,7 @@ bool TodControls::isProcBlackListed (
1202
1202
{
1203
1203
if (!i_procTarget )
1204
1204
{
1205
- TOD_ERR_ASSERT ("Input target cannot be nullptr for "
1205
+ TOD_ERR_ASSERT (false, "Input target cannot be nullptr for "
1206
1206
"isProcBlackListed" );
1207
1207
break ;
1208
1208
}
@@ -1212,7 +1212,7 @@ bool TodControls::isProcBlackListed (
1212
1212
||
1213
1213
( GETTYPE (i_procTarget ) != TARGETING ::TYPE_PROC ))
1214
1214
{
1215
- TOD_ERR_ASSERT ("Only processor target allowed as input for "
1215
+ TOD_ERR_ASSERT (false, "Only processor target allowed as input for "
1216
1216
" isProcBlackListed " );
1217
1217
break ;
1218
1218
}
@@ -1271,7 +1271,7 @@ errlHndl_t TodControls::buildGardedTargetsList()
1271
1271
TARGETING ::targetService ().getTopLevelTarget (l_pSystemTarget );
1272
1272
if (!l_pSystemTarget )
1273
1273
{
1274
- TOD_ERR_ASSERT ("System target could not be found" );
1274
+ TOD_ERR_ASSERT (false, "System target could not be found" );
1275
1275
break ;
1276
1276
}
1277
1277
0 commit comments