Skip to content

Commit

Permalink
In VPD::sendMboxWriteMsg, do a noop if no SP Base Services available
Browse files Browse the repository at this point in the history
Change-Id: Ic058e4cf3c035d3cc289072348918b67a99d8da5
RTC:171488
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48142
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>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
velozr authored and dcrowell77 committed Oct 10, 2017
1 parent 9c39127 commit b01e6bb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/usr/vpd/runtime/rt_vpd.C
Expand Up @@ -34,6 +34,8 @@
#include <targeting/common/util.H>
#include <util/runtime/util_rt.H>
#include <runtime/interface.h>
#include <initservice/initserviceif.H>

#include "vpd.H"
#include "mvpd.H"
#include "cvpd.H"
Expand Down Expand Up @@ -407,6 +409,14 @@ errlHndl_t sendMboxWriteMsg ( size_t i_numBytes,

do
{
if(!INITSERVICE::spBaseServicesEnabled())
{
// No SP Base Services available at runtime then simply return
TRACFCOMP( g_trac_vpd, ERR_MRK
"No SP Base Services available at runtime.")
break;
}

if ((nullptr == g_hostInterfaces) ||
(nullptr == g_hostInterfaces->firmware_request))
{
Expand Down

0 comments on commit b01e6bb

Please sign in to comment.