
15 Aug
2023
15 Aug
'23
4:42 p.m.
On Sun, Jul 16, 2023 at 05:53:24PM +0200, Marek Vasut wrote:
This function only ever returns 0, but may not assign the second parameter. Same thing for device_find_next_child(). Do not assign ret to stop proliferation of this misuse.
Reported-by: Jonas Karlman jonas@kwiboo.se Signed-off-by: Marek Vasut marex@denx.de Reviewed-by: Simon Glass sjg@chromium.org
Applied to u-boot/next, thanks!
--
Tom