Skip to content
Unverified Commit ce410900 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

regulator: cros-ec-regulator: Add NULL test for devm_kmemdup call



Fix possible NULL pointer dereference.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Link: https://lore.kernel.org/r/20200802032509.305425-1-axel.lin@ingics.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent bcb3b2a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment