[PATCH] FIT: let fit_has_image() return bool

Sascha Hauer s.hauer at pengutronix.de
Thu Sep 4 01:11:00 PDT 2025


On Thu, 04 Sep 2025 07:53:36 +0200, Sascha Hauer wrote:
> The return value of fit_has_image() is treated as bool by most callers.
> It could return an error code though which by the callers would be
> evaluated to true. Change the return type to bool and return false
> instead of an error code to meet the callers expectations.
> 
> 

Applied, thanks!

[1/1] FIT: let fit_has_image() return bool
      https://git.pengutronix.de/cgit/barebox/commit/?id=403d8a3b6acf (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list