Masked wrong length while parsing [Device Revision]
Bug #1860402 reported by
Puwen Hsiao
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyghmi |
New
|
Undecided
|
Unassigned |
Bug Description
$ git rev-parse --verify HEAD
fb9b371d38b2e14
File: pyghmi/ipmi/sdr.py
Line: 633, self.device_rev = rsp['data'][1] & 0b111
According to the IPMI specification, the [Device Revision]'s bit mask is [3:0]. Therefore 0b1111 should be used instead of 0b111.
To post a comment you must log in.