bios_table: Stabilise pldm_bios_table_append_pad_checksum_check()
pldm_bios_table_append_pad_checksum_check() is a replacement for
pldm_bios_table_append_pad_checksum(), which used assert() to sanitize
its arguments. pldm_bios_table_append_pad_checksum_check() instead
returns an error.
Use of pldm_bios_table_append_pad_checksum_check() is demonstrated in
the following patch:
https://gerrit.openbmc.org/c/openbmc/pldm/+/64626
Additionally, deprecate pldm_bios_table_append_pad_checksum() now that
there's a stable replacement.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: If9fc91ac60477cfb6ba96e377dbf5768a990bd69
diff --git a/abi/x86_64/gcc.dump b/abi/x86_64/gcc.dump
index ba196a9..33df348 100644
--- a/abi/x86_64/gcc.dump
+++ b/abi/x86_64/gcc.dump
@@ -4122,6 +4122,25 @@
'Return' => '48827',
'ShortName' => 'pldm_bios_table_iter_create'
},
+ '51335' => {
+ 'Header' => 'bios_table.h',
+ 'Param' => {
+ '0' => {
+ 'name' => 'table',
+ 'type' => '166'
+ },
+ '1' => {
+ 'name' => 'capacity',
+ 'type' => '123'
+ },
+ '2' => {
+ 'name' => 'size',
+ 'type' => '9084'
+ }
+ },
+ 'Return' => '74',
+ 'ShortName' => 'pldm_bios_table_append_pad_checksum_check'
+ },
'51739' => {
'Header' => 'bios_table.h',
'Param' => {
@@ -8070,6 +8089,7 @@
'is_transfer_flag_valid' => 1,
'pack_pldm_header' => 1,
'pldm_bios_table_append_pad_checksum' => 1,
+ 'pldm_bios_table_append_pad_checksum_check' => 1,
'pldm_bios_table_attr_entry_decode_attribute_handle' => 1,
'pldm_bios_table_attr_entry_decode_attribute_type' => 1,
'pldm_bios_table_attr_entry_decode_string_handle' => 1,