Let's print name of the ISA extension in warning if generate_cpu_nodes() drops the ISA extension from generated ISA string due to lack of space. Signed-off-by: Anup Patel <apatel@xxxxxxxxxxxxxxxx> --- riscv/fdt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/riscv/fdt.c b/riscv/fdt.c index 9af71b5..b45f731 100644 --- a/riscv/fdt.c +++ b/riscv/fdt.c @@ -108,7 +108,8 @@ static void generate_cpu_nodes(void *fdt, struct kvm *kvm) } if ((strlen(isa_info_arr[i].name) + pos + 1) >= CPU_ISA_MAX_LEN) { - pr_warning("Insufficient space to append ISA exension\n"); + pr_warning("Insufficient space to append ISA exension %s\n", + isa_info_arr[i].name); break; } pos += snprintf(cpu_isa + pos, CPU_ISA_MAX_LEN, "_%s", -- 2.34.1