summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/vexpress-regulator.c
diff options
context:
space:
mode:
authorAnton Vasilyev <vasilyev@ispras.ru>2018-07-27 15:59:29 +0200
committerMark Brown <broonie@kernel.org>2018-07-30 10:41:04 +0200
commit4f919ca2bf6da826ba1a4316e1b8e9c94e5dbeb2 (patch)
tree06ab96dce6a71e22f307593498fbb084e00d7ed7 /drivers/regulator/vexpress-regulator.c
parentregulator: Add support for CPCAP regulators on Motorola Xoom devices. (diff)
downloadlinux-4f919ca2bf6da826ba1a4316e1b8e9c94e5dbeb2.tar.xz
linux-4f919ca2bf6da826ba1a4316e1b8e9c94e5dbeb2.zip
regulator: tps65217: Fix NULL pointer dereference on probe
There is no check that tps->strobes is allocated successfully in tps65217_regulator_probe(). The patch adds corresponding check. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Anton Vasilyev <vasilyev@ispras.ru> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/vexpress-regulator.c')
0 files changed, 0 insertions, 0 deletions