]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Merge patch series "dm: core: use {s,u}32 instead of int for dev_read_{s,u}32_default"
authorTom Rini <trini@konsulko.com>
Wed, 11 Jun 2025 19:31:45 +0000 (13:31 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 11 Jun 2025 19:31:45 +0000 (13:31 -0600)
Quentin Schulz <foss+uboot@0leil.net> says:

Out of all the dev_read_*_default functions, only two do not properly
use the type as argument and return type: dev_read_u32_default and
dev_read_s32_default. They both use int instead of u32/s32.

Considering that it's generally not guaranteed that an int is 4 bytes
but also for consistency sake, let's have them use the expected type.

Note that I have not tested this, just stumbled upon that inconsistency
by chance.

Link: https://lore.kernel.org/r/20250528-dev_read_x32_default-v1-0-6ab1734dd7a2@cherry.de

Trivial merge