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)
commitae297ca722ffdb0ae7d76e3fde637f91d4d79e81
treee43449d352c00048ecc43f4bac4d43c9a3c7e5f3
parent4b5cb576116663813768ddeb46523d1aa717133e
parentad03050e26b1a61b3fe10a645a36da11652355e7
Merge patch series "dm: core: use {s,u}32 instead of int for dev_read_{s,u}32_default"

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