[PATCH] power: pfuze100: Ensure loop index is incremented
Peng Fan
peng.fan at nxp.com
Tue Sep 16 03:47:45 CEST 2025
> Subject: Re: [PATCH] power: pfuze100: Ensure loop index is
> incremented
>
> Sorry for being unclear. The original patch isn't right I think, the size
> change leads me to believe that we're changing the loop behavior.
> Looking harder at the code in question, it seems like it's an odd way to
> iterate over every element in the array ('i' isn't used, we just increment
> desc and quite possibly don't handle failure to find a match correctly?).
> I think the best path is reworking the code a bit, but no, I don't have
> the time to. If you don't have time to, perhaps Fabio or Peng can?
I just post a patch, please see whether it is good for you.
Thanks,
Peng.
>
> --
> Tom
More information about the U-Boot
mailing list