summaryrefslogtreecommitdiffstats
path: root/src/usr/spd/spd.C
diff options
context:
space:
mode:
authorTerry J. Opie <opiet@us.ibm.com>2012-03-07 13:39:53 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-04-04 21:02:11 -0500
commitade5f3e69bf455b78e10da68c0ac0d2d5fdb1f6c (patch)
tree29bcedfb462d476c4d1ace8a29cee543e465510b /src/usr/spd/spd.C
parent4e29fbf87555f7d1b4c9923203f091bde397e2a6 (diff)
downloadtalos-hostboot-ade5f3e69bf455b78e10da68c0ac0d2d5fdb1f6c.tar.gz
talos-hostboot-ade5f3e69bf455b78e10da68c0ac0d2d5fdb1f6c.zip
MVPD Device Driver
- MVPD test cases - Add temp binary image file - Adjust SPD/DIMM Pres Detect tests to operate on 1 DIMM. Change-Id: Iaaacd4787ba8e8a8d74f3c427507d98a5f0b218c RTC: 35329 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/777 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/spd/spd.C')
-rwxr-xr-xsrc/usr/spd/spd.C6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/usr/spd/spd.C b/src/usr/spd/spd.C
index a421a14b9..3a4147025 100755
--- a/src/usr/spd/spd.C
+++ b/src/usr/spd/spd.C
@@ -30,9 +30,6 @@
// ----------------------------------------------
// Includes
// ----------------------------------------------
-//#include <string.h>
-//#include <sys/time.h>
-
#include <trace/interface.H>
#include <errl/errlentry.H>
#include <errl/errlmanager.H>
@@ -359,7 +356,8 @@ errlHndl_t spdGetValue ( uint64_t i_keyword,
tmpKwdData,
compareEntries );
- if( entry == &kwdData[arraySize] )
+ if( ( entry == &kwdData[arraySize] ) ||
+ ( i_keyword != entry->keyword ) )
{
TRACFCOMP( g_trac_spd,
ERR_MRK"No matching keyword entry found!" );
OpenPOWER on IntegriCloud