aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2020-07-02 12:56:59 +0100
committerMark Brown <[email protected]>2020-07-02 16:45:45 +0100
commit94462138f368a5e079d53d578509276e4366d0c1 (patch)
tree9c65801da5fd4cefba74b5e99f2273ff3e72e547 /tools/testing/selftests/bpf/prog_tests/autoload.c
parentd5ff5fb977f0c3d07bdb9f87b490c70481c8666f (diff)
regulator: fix null pointer check on regmap
The null pointer check on regmap that checks for a dev_get_regmap failure is currently returning -ENOENT if the regmap succeeded. Fix this by adding in the missing ! operator. Fixes: 4fe66d5a62fb ("regulator: Add support for QCOM PMIC VBUS booster") Signed-off-by: Colin Ian King <[email protected]> Addresses-Coverity: ("Dereference after null check") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions