Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pinctrl: axp209: Fix NULL pointer dereference after allocation
axp20x_build_funcs_groups allocates groups via devm_kcalloc and tries to dereference without checking for NULL. This patch avoids such a scenario. Signed-off-by: Aditya Pakki <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
- Loading branch information