Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5a195c6d authored by Thor Thayer's avatar Thor Thayer Committed by Linus Walleij
Browse files

gpio: gpiolib-devprop: Check chip->parent pointer before dereferencing



Confirm the chip->parent is valid before dereferencing because
the parent parameter is optional.

Signed-off-by: default avatarThor Thayer <tthayer@opensource.altera.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent f85522c2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment