diff options
author | 2021-06-03 17:49:44 +0800 | |
---|---|---|
committer | 2021-06-03 19:35:48 +0100 | |
commit | cb2381cbecb81a8893b2d1e1af29bc2e5531df27 (patch) | |
tree | 73645a2e18cdf15e96684a7a878d195b18918296 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | regulator: hi6421v600: Fix .vsel_mask setting (diff) | |
download | linux-dev-cb2381cbecb81a8893b2d1e1af29bc2e5531df27.tar.xz linux-dev-cb2381cbecb81a8893b2d1e1af29bc2e5531df27.zip |
regulator: rt4801: Fix NULL pointer dereference if priv->enable_gpios is NULL
devm_gpiod_get_array_optional may return NULL if no GPIO was assigned.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Link: https://lore.kernel.org/r/20210603094944.1114156-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions