pldm: Move off pldm_pdr_add_check()
Generated with:
```
$ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_pdr_add_check.yaml
```
Change-Id: I4982195e97c25567b35f77ee7dcf795629d259b4
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
diff --git a/host-bmc/host_pdr_handler.cpp b/host-bmc/host_pdr_handler.cpp
index dee768e..c5b60ce 100644
--- a/host-bmc/host_pdr_handler.cpp
+++ b/host-bmc/host_pdr_handler.cpp
@@ -231,7 +231,7 @@
{
// Adding the remote range PDRs to the repo before merging it
uint32_t handle = record_handle;
- pldm_pdr_add_check(repo, pdr.data(), size, true, 0xFFFF, &handle);
+ pldm_pdr_add(repo, pdr.data(), size, true, 0xFFFF, &handle);
}
pldm_entity_association_pdr_extract(pdr.data(), pdr.size(), &numEntities,
@@ -615,8 +615,8 @@
}
else
{
- rc = pldm_pdr_add_check(repo, pdr.data(), respCount, true,
- pdrTerminusHandle, &rh);
+ rc = pldm_pdr_add(repo, pdr.data(), respCount, true,
+ pdrTerminusHandle, &rh);
if (rc)
{
// pldm_pdr_add() assert()ed on failure to add a PDR.