-Report unrecognized DIMM manufacturers in output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
cc70fb9607
commit
b0369a94f4
@ -603,7 +603,11 @@ sub decode_manufacturer {
|
||||
unless ($code) {
|
||||
return "Malformed SPD";
|
||||
}
|
||||
return $jedec_ids->[$arr_index]->{$code};
|
||||
if (defined $jedec_ids->[$arr_index]->{$code}) {
|
||||
return $jedec_ids->[$arr_index]->{$code};
|
||||
} else {
|
||||
return "Unrecognized manufacturer: $arr_index, $code";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user