[PATCH v2 0/2] lib: smbios: verify_checksum() is duplicate
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Tue Jan 9 09:53:32 CET 2024
The function verify_checksum() duplicates what table_compute_checksum()
does. Replace it. table_compute_checksum() is always compiled.
Adjust table_compute_checksum() to accept const pointers.
v2:
Adjust table_compute_checksum() to accept const pointers.
Correct sequence of includes
Heinrich Schuchardt (2):
lib: make table_compute_checksum() arguments const
lib: smbios: verify_checksum() is duplicate
include/tables_csum.h | 2 +-
lib/smbios-parser.c | 18 ++----------------
lib/tables_csum.c | 4 ++--
3 files changed, 5 insertions(+), 19 deletions(-)
--
2.43.0
More information about the U-Boot
mailing list