summaryrefslogtreecommitdiff
path: root/include/acpi/acnames.h
diff options
context:
space:
mode:
authorJordan Crouse <jcrouse@codeaurora.org>2018-10-05 16:08:29 +0300
committerAndy Gross <andy.gross@linaro.org>2018-11-14 20:59:03 +0300
commite0f2cfeb59c81cbcfc7fbcb7ec0636020499813b (patch)
treefe997857155d9e83d67cf88e403879af6b3c8e24 /include/acpi/acnames.h
parent8c1919a2b48f172bfb4db5aa93d5809dd26738b3 (diff)
downloadlinux-e0f2cfeb59c81cbcfc7fbcb7ec0636020499813b.tar.xz
soc: qcom: llcc-slice: Add error checks for API functions
llcc_slice_getd can return a ERR_PTR code on failure. Add a IS_ERR_OR_NULL check to subsequent API calls that use struct llcc_slice_desc to guard against faults and to let the leaf drivers get away with safely using a ERR_PTR() encoded "pointer" in the aftermath of a llcc_slice_getd error. Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org> Reviewed-by: Vivek Gautam <vivek.gautam@codeaurora.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'include/acpi/acnames.h')
0 files changed, 0 insertions, 0 deletions