On Thu, Mar 3, 2022 at 9:02 AM Meng Tang <tangmeng@xxxxxxxxxxxxx> wrote: > When krealloc() fails and pctrl->functions is NULL, no error > return code of berlin_pinctrl_build_state() is assigned. > To fix this bug, ret is assigned with -ENOMEM when pctrl->functions > is NULL. > > Signed-off-by: Meng Tang <tangmeng@xxxxxxxxxxxxx> Patch applied! Yours, Linus Walleij