diff options
author | Zdenek Styblik <stybla@turnovfree.net> | 2016-03-13 18:21:38 +0100 |
---|---|---|
committer | Zdenek Styblik <stybla@turnovfree.net> | 2016-03-13 18:21:38 +0100 |
commit | 38241decc77b57ac484ae6c70e281feb4947fc2f (patch) | |
tree | a498e89ffcb50f79f4df25eaca7f4d3f4fda406a /lib/ipmi_sdr.c | |
parent | a6a67e5e9cedbc5318b737f0c18690c1f134b13a (diff) | |
download | ipmitool-38241decc77b57ac484ae6c70e281feb4947fc2f.tar.gz |
ID:427 - Cleanup comment in ipmi_sdr_get_header()
Commit cleans up comment in ipmi_sdr_get_header() a bit.
Diffstat (limited to 'lib/ipmi_sdr.c')
-rw-r--r-- | lib/ipmi_sdr.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/ipmi_sdr.c b/lib/ipmi_sdr.c index 502e547..226a964 100644 --- a/lib/ipmi_sdr.c +++ b/lib/ipmi_sdr.c @@ -865,15 +865,9 @@ ipmi_sdr_get_header(struct ipmi_intf *intf, struct ipmi_sdr_iterator *itr) * situation, we cheat and put the original record id back in. * Otherwise, a later Get SDR Record command will fail with * completion code CBh = "Requested Sensor, data, or record - * not present" + * not present". Exception is if 'Record ID' is specified as 0000h. + * For further information see IPMI v2.0 Spec, Section 33.12 */ - /***************************************************************** - * Need to add one conditional statement for First Record ID 0x0000 - * IPMI v2.0 Spec, Section 33.12 - * If ‘Record ID’ is specified as 0000h, this command returns - * the Record Header for the ‘first’ SDR in the repository. - * Therefore the Record ID will not equal - ******************************************************************/ if ((itr->next != 0x0000) && (sdr_rs.id != itr->next)) { lprintf(LOG_DEBUG, "SDR record id mismatch: 0x%04x", sdr_rs.id); |