On Fri, Mar 12, 2021 at 8:31 AM Michal Simek <michal.simek@xxxxxxxxxx> wrote: > Static analyzer tool found that the ret variable is not initialized but > code expects ret value >=0 when pinconf is skipped in the first pinmux > loop. The same expectation is for pinmux in a pinconf loop. > That's why initialize ret to 0 to avoid uninitialized ret value in first > loop or reusing ret value from first loop in second. > > Addresses-Coverity: ("Uninitialized variables") > Signed-off-by: Michal Simek <michal.simek@xxxxxxxxxx> > CC: Colin Ian King <colin.king@xxxxxxxxxxxxx> > CC: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Patch applied! Yours, Linus Walleij