diff options
author | Aditya Pakki <pakki001@umn.edu> | 2019-03-12 10:19:10 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-04-08 11:20:28 +0200 |
commit | 1adc90c7395742827d754a5f02f446818a77c379 (patch) | |
tree | 2ac966b861fa728af9844d7ba9537ce60e24482b /drivers/pinctrl/core.h | |
parent | 182e80eeaff5e0e036cc240f17ece49501dd6d17 (diff) |
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 <pakki001@umn.edu>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/core.h')
0 files changed, 0 insertions, 0 deletions