mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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> |
History
|
|
|---|---|---|
| .. | ||
| berlin-bg2.c | ||
| berlin-bg2cd.c | ||
| berlin-bg2q.c | ||
| berlin-bg4ct.c | ||
| berlin.c | ||
| berlin.h | ||
| Kconfig | ||
| Makefile | ||
| pinctrl-as370.c | ||