pldm: Move off pldm_bios_table_attr_entry_enum_decode_pv_num_check()
Generated with:
```
$ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_bios_table_attr_entry_enum_decode_pv_num_check.yaml
```
Change-Id: I749ac6dd0423a82e16dc1a6d35bfec5a9041b565
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
diff --git a/libpldmresponder/bios_config.cpp b/libpldmresponder/bios_config.cpp
index a6adca8..ff3a97f 100644
--- a/libpldmresponder/bios_config.cpp
+++ b/libpldmresponder/bios_config.cpp
@@ -222,8 +222,7 @@
{
uint8_t pvNum;
// Preconditions are upheld therefore no error check necessary
- pldm_bios_table_attr_entry_enum_decode_pv_num_check(entry,
- &pvNum);
+ pldm_bios_table_attr_entry_enum_decode_pv_num(entry, &pvNum);
std::vector<uint16_t> pvHandls(pvNum);
// Preconditions are upheld therefore no error check necessary
pldm_bios_table_attr_entry_enum_decode_pv_hdls_check(
@@ -375,8 +374,8 @@
uint8_t pvNum;
// Preconditions are upheld therefore no error check necessary
- pldm_bios_table_attr_entry_enum_decode_pv_num_check(attrEntry,
- &pvNum);
+ pldm_bios_table_attr_entry_enum_decode_pv_num(attrEntry,
+ &pvNum);
std::vector<uint16_t> pvHandls(pvNum);
// Preconditions are upheld therefore no error check necessary
pldm_bios_table_attr_entry_enum_decode_pv_hdls_check(
@@ -732,8 +731,7 @@
auto attrEntry = pldm_bios_table_attr_find_by_handle(
attrTable->data(), attrTable->size(), handle);
uint8_t pvNum;
- int rc = pldm_bios_table_attr_entry_enum_decode_pv_num_check(attrEntry,
- &pvNum);
+ int rc = pldm_bios_table_attr_entry_enum_decode_pv_num(attrEntry, &pvNum);
if (rc != PLDM_SUCCESS)
{
error(
diff --git a/libpldmresponder/bios_table.cpp b/libpldmresponder/bios_table.cpp
index b02fd56..158905c 100644
--- a/libpldmresponder/bios_table.cpp
+++ b/libpldmresponder/bios_table.cpp
@@ -240,7 +240,7 @@
EnumField decodeEnumEntry(const pldm_bios_attr_table_entry* entry)
{
uint8_t pvNum;
- int rc = pldm_bios_table_attr_entry_enum_decode_pv_num_check(entry, &pvNum);
+ int rc = pldm_bios_table_attr_entry_enum_decode_pv_num(entry, &pvNum);
if (rc != PLDM_SUCCESS)
{
error(