[PATCH v1 2/2] riscv: cpu_ops_sbi: No need to be bothered to check ret.error
Paul Walmsley
pjw at kernel.org
Wed May 27 17:40:36 PDT 2026
On Mon, 13 Apr 2026, Hui Wang wrote:
> If the ret.error equals to 0, the sbi_err_map_linux_errno() can also
> handle it, i.e. if ret.error is SBI_SUCCESS, it will return 0
> immediately, so no need to be bothered to check ret.error here.
>
> Signed-off-by: Hui Wang <hui.wang at canonical.com>
Thanks, queued for v7.2.
- Paul
More information about the linux-riscv
mailing list