Files
Anton Vasilyev 77197f8d96 pinctrl: axp209: Fix NULL pointer dereference after allocation
[ Upstream commit 504c76979b ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-15 09:46:51 +02:00
..
…
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
…
…
…
…
…
…