diff options
author | Jan Samek <jan.samek@siemens.com> | 2023-02-02 14:14:50 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-03-02 14:37:42 +0000 |
commit | 8555cc47a5b08bd0be3bc7c39168e1ea5e03f098 (patch) | |
tree | f6afdd9d115e1c9faf321b3a21509efa422855c6 /src/mainboard/siemens/mc_ehl/bootblock.c | |
parent | eede5a24959139639a0156ccb3795d1468e996bc (diff) |
vc/siemens/hwilib: Change uint32_t return type to size_t
The commit fcff39f0ea47 ("vc/siemens/hwilib: Rename 'maxlen' to
'dstsize'") changed the 'dstsize' input parameter type from uint32_t to
size_t.
This patch changes also the return parameter, which is often directly
compared with the aforementioned input parameter value. This should
introduce no change on 32-bit builds and stay consistent across the
project in the case of 64-bit builds and avoid comparisons of integers
of different width here.
BUG=none
TEST=No changes to hwilib behavior on any of the siemens/mc_apl1 or
siemens/mc_ehl variants.
Change-Id: I0a623f55b596297cdb6e17232828b9536c9a43e6
Signed-off-by: Jan Samek <jan.samek@siemens.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72667
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
Diffstat (limited to 'src/mainboard/siemens/mc_ehl/bootblock.c')
0 files changed, 0 insertions, 0 deletions