Home
last modified time | relevance | path

Searched hist:"66871 b4d13c50a2ccc31682fa3456509ee723a4f" (Results 1 – 1 of 1) sorted by relevance

/openbmc/pldm/pldmtool/
H A Dpldmtool.cppdiff 66871b4d13c50a2ccc31682fa3456509ee723a4f Sun May 28 05:35:48 CDT 2023 Thu Nguyen <thu@os.amperecomputing.com> pldmtool: Use instanceId from libpldm for raw command

In the pldmtool raw command, instanceId is inputted in raw data. It
does not use the retrievedi one from the instanceId database by
exec() in pldm_cmd_helper. This causes the failure when the response
handler frees this provided instanceId because that instanceID is not
in libpldm database. To fix that, the inputted instanceId will be
ignored and the retrieved instanceId from libpldm will be used.

Tested:
1. No "Invalid instance ID" in the journal log when running "pldmtool
raw" commands.

Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
Change-Id: I310f699e2d87ba2fa16b69350fdd7fa69d9598f9