diff options
| author | Anup Patel <[email protected]> | 2025-08-18 14:35:59 +0000 |
|---|---|---|
| committer | Paul Walmsley <[email protected]> | 2025-09-04 22:25:50 +0000 |
| commit | 5b3706597b90a7b6c9ae148edd07a43531dcd49e (patch) | |
| tree | b55df2992a27119d220fea33b7d31e7836cd39ed /scripts/module-common.c | |
| parent | riscv: Only allow LTO with CMODEL_MEDANY (diff) | |
| download | kernel-5b3706597b90a7b6c9ae148edd07a43531dcd49e.tar.gz kernel-5b3706597b90a7b6c9ae148edd07a43531dcd49e.zip | |
ACPI: RISC-V: Fix FFH_CPPC_CSR error handling
The cppc_ffh_csr_read() and cppc_ffh_csr_write() returns Linux error
code in "data->ret.error" so cpc_read_ffh() and cpc_write_ffh() must
not use sbi_err_map_linux_errno() for FFH_CPPC_CSR.
Fixes: 30f3ffbee86b ("ACPI: RISC-V: Add CPPC driver")
Signed-off-by: Anup Patel <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Reviewed-by: Troy Mitchell <[email protected]>
Reviewed-by: Sunil V L <[email protected]>
Reviewed-by: Nutty Liu <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paul Walmsley <[email protected]>
Diffstat (limited to 'scripts/module-common.c')
0 files changed, 0 insertions, 0 deletions
