summaryrefslogtreecommitdiff
path: root/src/apps
diff options
context:
space:
mode:
authorYe Li <[email protected]>2026-05-22 15:27:05 +0800
committerMattijs Korpershoek <[email protected]>2026-06-26 11:01:42 +0200
commiteec819b98439c50f8ea38ac078ff6a862ea03038 (patch)
tree43af38ad337079db752f3217f538c13683b34e6f /src/apps
parent63f6cc8ba618396cb9c0161bb5c6d217604ae1d0 (diff)
usb: f_sdp: handle the spl load function failure
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. Signed-off-by: Ye Li <[email protected]> Fixes: 2c72ead73874 ("usb: gadget: f_sdp: Allow SPL to load and boot FIT via SDP") Reviewed-by: Mattijs Korpershoek <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'src/apps')
0 files changed, 0 insertions, 0 deletions