Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 35d87707 authored by Mitchel Humpherys's avatar Mitchel Humpherys
Browse files

firmware: qcom: tz_log: add error checking for ion_map_kernel



ion_map_kernel can return an ERR_PTR but we're currently assuming that
it always returns a valid pointer. Fix this by checking for IS_ERR
before dereferencing the pointer.

Change-Id: I2f606c042ad8c8ff6bc8db6501eed0a0924290fb
Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
parent e33b9fba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment