commit | ce4109005770ff6f160e1424928b9cc696e8c8f2 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Sun Aug 02 11:25:09 2020 +0800 |
committer | Mark Brown <broonie@kernel.org> | Tue Aug 04 13:24:37 2020 +0100 |
tree | 8f8cf28034435c6916d3652c38be928b3d22bdfa | |
parent | bcb3b2a7639db2412875520cddc3abd179068793 [diff] |
regulator: cros-ec-regulator: Add NULL test for devm_kmemdup call Fix possible NULL pointer dereference. Signed-off-by: Axel Lin <axel.lin@ingics.com> Link: https://lore.kernel.org/r/20200802032509.305425-1-axel.lin@ingics.com Signed-off-by: Mark Brown <broonie@kernel.org>