[PATCH 0/2] dm: core: use {s,u}32 instead of int for dev_read_{s,u}32_default
Tom Rini
trini at konsulko.com
Thu Jun 12 00:21:20 CEST 2025
On Wed, 28 May 2025 15:06:17 +0200, Quentin Schulz wrote:
> 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.
>
> [...]
Applied to u-boot/next, thanks!
[1/2] dm: core: use u32 instead of int for dev_read_u32_default
commit: b4b66e2f298e10d53749ce8d3ca086acbfc62f6a
[2/2] dm: core: use s32 instead of int for dev_read_s32_default
commit: ad03050e26b1a61b3fe10a645a36da11652355e7
--
Tom
More information about the U-Boot
mailing list