[PATCH] usb: f_sdp: handle the spl load function failure
Mattijs Korpershoek
mkorpershoek at kernel.org
Fri Jun 26 11:18:42 CEST 2026
Hi,
On Fri, 22 May 2026 15:27:05 +0800, Ye Li wrote:
> Current implementation does not check the return value of spl load
> function. If the spl load is failed, SPL may meet crash due to
> spl_image variable is not initialized. Add the failure check,
> so SPL can print and stop with error.
Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu-next)
[1/1] usb: f_sdp: handle the spl load function failure
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/eec819b98439c50f8ea38ac078ff6a862ea03038
--
Mattijs
More information about the U-Boot
mailing list