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

Paul Walmsley pjw at kernel.org
Tue Nov 25 16:27:30 PST 2025


On Fri, 31 Oct 2025, 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.
> 
> Signed-off-by: Qiang Ma <maqianga at uniontech.com>

Considering that Ard doesn't think efi_create_mapping() should be changed 
to remove the return value, and that the ARM version of this code retains 
the debug message, we should probably keep things the way they are.  But 
if you can get a Reviewed-by: or an Acked-by: from Ard, I'd take it.


Thanks for your patch,

- Paul




More information about the linux-riscv mailing list