[PATCH 09/14] spl: mmc: Handle error codes consistently

Simon Glass sjg at chromium.org
Sun Jul 21 12:08:35 CEST 2024


Hi Sean,

On Sat, 20 Jul 2024 at 16:58, Sean Anderson <seanga2 at gmail.com> wrote:
>
> On 7/20/24 02:17, Simon Glass wrote:
> > Use 'ret' as the return code, since it may not be an error and this is
> > the common name in U-Boot. Make sure to return the error code when
> > given, rather than transforming it into -1 (-EPERM).
>
> Does this transformation affect code size?

Not that I can see, e.g. for firefly-rk3288

Regards,
Simon


More information about the U-Boot mailing list