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

Skip to content
Commit cd738916 authored by Sachin Kamat's avatar Sachin Kamat Committed by Linus Walleij
Browse files

gpio-sta2x11: Fix potential NULL pointer dereference



devm_kzalloc can return NULL. Check for it before dereferencing.

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent ea4a21a2
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