Commit 55e4d4b
committed
firmware: qcom: scm: preserve assign_mem() error return value
JIRA: https://issues.redhat.com/browse/RHEL-117514
commit 121fcf3
Author: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>
Date: Thu Aug 7 18:14:51 2025 +0530
firmware: qcom: scm: preserve assign_mem() error return value
When qcom_scm_assign_mem() fails, the error value is currently being
overwritten after it is logged, resulting in the loss of the original
error code. Fix this by retaining and returning the original error value
as intended.
Signed-off-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250807124451.2623019-1-mukesh.ojha@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Eric Chanudet <echanude@redhat.com>1 parent 7e38d96 commit 55e4d4b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1119 | 1119 | | |
1120 | 1120 | | |
1121 | 1121 | | |
1122 | | - | |
| 1122 | + | |
1123 | 1123 | | |
1124 | 1124 | | |
1125 | 1125 | | |
| |||
0 commit comments