pldm: Move off pldm_bios_table_string_entry_decode_string_check()
Generated with:
```
$ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_bios_table_string_entry_decode_string_check.yaml
```
Change-Id: I085a4b6bbd8a08db19156ab404d5dde6a20d32ba
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
diff --git a/libpldmresponder/bios_config.cpp b/libpldmresponder/bios_config.cpp
index 7112ed2..a6adca8 100644
--- a/libpldmresponder/bios_config.cpp
+++ b/libpldmresponder/bios_config.cpp
@@ -322,8 +322,8 @@
pldm_bios_table_string_entry_decode_string_length(stringEntry);
std::vector<char> buffer(strLength + 1 /* sizeof '\0' */);
// Preconditions are upheld therefore no error check necessary
- pldm_bios_table_string_entry_decode_string_check(
- stringEntry, buffer.data(), buffer.size());
+ pldm_bios_table_string_entry_decode_string(stringEntry, buffer.data(),
+ buffer.size());
attributeName = std::string(buffer.data(), buffer.data() + strLength);
@@ -363,7 +363,7 @@
std::vector<char> buffer(strLength + 1 /* sizeof '\0' */);
// Preconditions are upheld therefore no error check
// necessary
- pldm_bios_table_string_entry_decode_string_check(
+ pldm_bios_table_string_entry_decode_string(
stringEntry, buffer.data(), buffer.size());
return std::string(buffer.data(),
@@ -719,8 +719,8 @@
pldm_bios_table_string_entry_decode_string_length(stringEntry);
std::vector<char> buffer(strLength + 1 /* sizeof '\0' */);
// Preconditions are upheld therefore no error check necessary
- pldm_bios_table_string_entry_decode_string_check(stringEntry, buffer.data(),
- buffer.size());
+ pldm_bios_table_string_entry_decode_string(stringEntry, buffer.data(),
+ buffer.size());
return std::string(buffer.data(), buffer.data() + strLength);
}
diff --git a/libpldmresponder/bios_table.cpp b/libpldmresponder/bios_table.cpp
index 20cc87d..01021ac 100644
--- a/libpldmresponder/bios_table.cpp
+++ b/libpldmresponder/bios_table.cpp
@@ -102,8 +102,8 @@
auto strLength = pldm_bios_table_string_entry_decode_string_length(entry);
std::vector<char> buffer(strLength + 1 /* sizeof '\0' */);
// Preconditions are upheld therefore no error check necessary
- pldm_bios_table_string_entry_decode_string_check(entry, buffer.data(),
- buffer.size());
+ pldm_bios_table_string_entry_decode_string(entry, buffer.data(),
+ buffer.size());
return std::string(buffer.data(), buffer.data() + strLength);
}
const pldm_bios_string_table_entry* constructEntry(Table& table,