]> git.dujemihanovic.xyz Git - u-boot.git/commit
upl: fix parsing of DT property
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 2 Nov 2024 15:04:13 +0000 (16:04 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 15 Nov 2024 00:14:06 +0000 (18:14 -0600)
commitb891826067c2d51cdb0f46b3763642bf8484ebb8
treed3fc65db8d6ea754f1d0e367b10f1b4af10a3d7a
parent504f36ed7a5273599813de10810b6e8b421289c4
upl: fix parsing of DT property

When calling decode_addr_size() we must pass the size of the device-tree
property and not sizeof(void *).

Fixes: 90469da3da0d ("upl: Add support for reading a upl handoff")
Addresses-Coverity-ID: 510459 Wrong sizeof argument
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
boot/upl_read.c