From: Dmitry B. <di...@pi...> - 2013-06-17 05:06:05
|
Hello, IPMITool maintainers team, Please, review the attached patch which does the following with the code in lib/ipmi_fru.c: 1. Removes hard-coded 16-byte length FRU inventory device transactions and introduces a command-line argument to setup such restriction for appropriate devices. 2. Fixes a bug where the algorithm incorrectly gathers FRU info blocks which led to an impossibility to write data into a FRU device. 3. Adds several code optimizations by organizing FRU blocks into a linked list which is simpler to handle in a higher layer code. 4. Replace absolute offset with the relative one which is used to access the data buffer in the read_fru_area() API. Updated the dumping functions correspondingly. Regards, Dmitry |