Home
last modified time | relevance | path

Searched hist:"159 a2279" (Results 1 – 1 of 1) sorted by relevance

/openbmc/openpower-occ-control/
H A Dpldm.cpp159a2279 Wed Sep 27 06:10:55 CDT 2023 Pavithra Barithaya <pavithra.b@ibm.com> Minor fix in pldmClose() API

The libpldm has introduced new transport APIs for the
open(), send(), close() etc. The present APIs are being deprecated
in libpldm - https://github.com/openbmc/libpldm/blob/main/src/requester/pldm.c#L30
This commit makes use of the close API as openpower-occ-control
causes confusion with the fd resources in HRESET path.
This change is needed until openpower-occ-control makes use of the
new transport APIs in its code.

Tested: Error injection which initiates HRESET was successful.

Change-Id: Ic54b84001407935bee51c51e633e548366c6accc
Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com>