[PATCH] cmd: host: fix duplicate device_unbind and wrong error message in unbind
Tom Rini
trini at konsulko.com
Sat Jul 11 02:17:23 CEST 2026
On Fri, 26 Jun 2026 09:16:46 +0530, Naveen Kumar Chaudhary wrote:
> do_host_unbind()'s error handler for device_unbind() prints the
> misleading message "Cannot attach file" and then calls device_unbind()
> a second time on the same device, both of which look like copy-paste
> mistakes left over from neighbouring code.
>
> Remove the duplicate device_unbind() call and report the correct
> failure with the device name.
>
> [...]
Applied to u-boot/master, thanks!
[1/1] cmd: host: fix duplicate device_unbind and wrong error message in unbind
commit: 9df08fb181de1c02eec2d74096e14252d779a134
--
Tom
More information about the U-Boot
mailing list