[PATCH RESEND] spi: spi-uclass: Use unwind goto

Tom Rini trini at konsulko.com
Tue Oct 28 18:59:13 CET 2025


On Mon, 06 Oct 2025 16:09:25 +0100, Andrew Goodbody wrote:

> In _spi_get_bus_and_cs the check for stacked parallel support needing
> multiple chip select support does a direct return on error. Instead it
> should set the error code in ret and then use the unwind goto.
> 
> This issue was found by Smatch.
> 
> 
> [...]

Applied to u-boot/master, thanks!

[1/1] spi: spi-uclass: Use unwind goto
      commit: f12ca3e2b81beef901c182981bb70b0b2aec8f6c
-- 
Tom




More information about the U-Boot mailing list