]> git.dujemihanovic.xyz Git - u-boot.git/commit
lib: make table_compute_checksum() arguments const
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 9 Jan 2024 08:36:44 +0000 (09:36 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 9 Jan 2024 09:08:52 +0000 (10:08 +0100)
commite3db8d60becb9842eb382d78863dd6f3d3756009
treefeab6d7660cd0527e53bf70c30bd5e317076e7cf
parentc5e461fbf7cc72f0c1c8a79226b6a5170e56cb4d
lib: make table_compute_checksum() arguments const

table_compute_checksum() does neither changes the content of the
checksummed buffer nor the buffer length. Adding const to the
definition makes the function wider usable.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
include/tables_csum.h
lib/tables_csum.c