aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorSibi Sankar <[email protected]>2019-08-21 23:35:48 +0530
committerBjorn Andersson <[email protected]>2019-08-26 14:52:01 -0700
commitf2583fde2719362039a6efb3b4094f46284df541 (patch)
treea029fcf7b5d1955809ddc877db37ef795f5eb0ef /lib/test_overflow.c
parent6ed756aa0148a5ad0dbdced6f14f22e2f5748d35 (diff)
remoteproc: qcom: q6v5-mss: fixup q6v5_pds_enable error handling
dev_pm_domain_attach_by_name will return NULL if the requested power-domain is not a part device node. This could result in NULL pointer de-reference in q6v5_pds_enable. Fix this by checking for IS_ERR_OR_NULL and forward the appropriate error code. Fixes: 4760a896be88e ("remoteproc: q6v5-mss: Vote for rpmh power domains") Signed-off-by: Sibi Sankar <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions