summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorAnton Vasilyev <vasilyev@ispras.ru>2018-08-06 19:06:35 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-08-10 23:12:43 +0200
commit504c76979bccec66e4c2e41f6a006e49e284466f (patch)
tree3382955b0359f03dd734682295b2bd628e339d9b /Documentation/devicetree
parent01f1974e5f08732de6cecc4287788a99cfc3b325 (diff)
downloadlinux-504c76979bccec66e4c2e41f6a006e49e284466f.tar.bz2
pinctrl: axp209: Fix NULL pointer dereference after allocation
There is no check that allocation in axp20x_funcs_groups_from_mask is successful. The patch adds corresponding check and return values. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Anton Vasilyev <vasilyev@ispras.ru> Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions