diff options
| author | 2022-03-03 16:02:06 +0800 | |
|---|---|---|
| committer | 2022-03-15 02:18:57 +0100 | |
| commit | de845036f997119bcacbdb7b4ccf3b6cf960745b (patch) | |
| tree | b9e4a0f7e3d3eae63baa43ff41a7ab41876efac4 /tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com | |
| parent | pinctrl: qcom: Introduce sc8280xp TLMM driver (diff) | |
| download | linux-dev-de845036f997119bcacbdb7b4ccf3b6cf960745b.tar.xz linux-dev-de845036f997119bcacbdb7b4ccf3b6cf960745b.zip | |
pinctrl: berlin: fix error return code of berlin_pinctrl_build_state()
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@uniontech.com>
Link: https://lore.kernel.org/r/20220303080206.16463-1-tangmeng@uniontech.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
