1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-09 20:16:27 +02:00
Files
u-boot-megous/drivers/pinctrl
Heinrich Schuchardt 97bf73762f pinctrl: mediatek: correct error handling
If no GPIO controller is found, the return value should not depend on a
random value on the stack. Initialize variable ret.

The problem was indicated by cppcheck.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
2021-01-18 15:23:06 -05:00
..
2021-01-05 16:20:26 -05:00