From 6a54cb38f787976f5bbbf1791ce30ee0d3b2aa21 Mon Sep 17 00:00:00 2001 From: jjohnson2 Date: Wed, 22 Apr 2015 12:10:00 -0400 Subject: [PATCH] Correct mistake in DDR4 DIMM parsing This was not observed to cause any problems, but would in theory behave in a peculiar fashion in some otherwise valid circumstances. --- perl-xCAT/xCAT/SPD.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/SPD.pm b/perl-xCAT/xCAT/SPD.pm index b2dd84eb0..7ef013c57 100755 --- a/perl-xCAT/xCAT/SPD.pm +++ b/perl-xCAT/xCAT/SPD.pm @@ -811,7 +811,7 @@ sub decode_spd { $rethash->{product}->{manufacturer} = decode_manufacturer($spd[320],$spd[321]); $rethash->{product}->{buildlocation} = sprintf("%02x",$spd[322]); - if ($spd[120] != 0 or $spd[121] != 0) { + if ($spd[323] != 0 or $spd[324] != 0) { $rethash->{product}->{builddate} = sprintf("Week %x of 20%02x",$spd[323],$spd[324]); } foreach (@spd[329..348]) {