Re: [PATCH] efi/riscv: Remove the useless failure return message print

From: Yao Zi

Date: Fri Oct 31 2025 - 00:12:46 EST


On Fri, Oct 31, 2025 at 10:43:28AM +0800, Qiang Ma wrote:
> In the efi_create_mapping() in arch/riscv/kernel/efi.c,
> the return value is always 0, and this debug message
> is unnecessary. So, remove it.

Should we make efi_create_mapping() return void at the same time, if it
will never fail?

Regards,
Yao Zi

> Signed-off-by: Qiang Ma <maqianga@xxxxxxxxxxxxx>