summaryrefslogtreecommitdiff
path: root/rust/helpers/mutex.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2025-11-29 17:51:10 +0300
committerBjorn Andersson <andersson@kernel.org>2025-11-29 14:18:23 -0600
commitcda5dc12eb12cd1dd125c2bfc8952bc498a77cba (patch)
treefc6f8d62584358dde036184c731985878420d20c /rust/helpers/mutex.c
parentcb200e41ed61c571f9b7fe9fbeb5dd8976e80c60 (diff)
remoteproc: qcom_wcnss: Fix NULL vs IS_ERR() bug in wcnss_alloc_memory_region()
The devm_ioremap_resource_wc() function never returns NULL, it returns error pointers. Update the checking to match. Fixes: c70b9d5fdcd7 ("remoteproc: qcom: Use of_reserved_mem_region_* functions for "memory-region"") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://lore.kernel.org/r/09a43da41ee277a80a3265348831e747f7b62620.1764427595.git.dan.carpenter@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions