From: Koakuma Date: Mon, 9 Jun 2025 13:53:12 +0000 (+0700) Subject: sparc/module: Make it clear that relocation numbers are shown in hex X-Git-Tag: v6.18-rc1~89^2~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dee099fd9d9af800ef28a3f930d32974104cf36a;p=thirdparty%2Fkernel%2Fstable.git sparc/module: Make it clear that relocation numbers are shown in hex This is to ease debugging by removing the ambiguity of the shown number base. Signed-off-by: Koakuma Reviewed-by: Andreas Larsson Signed-off-by: Andreas Larsson --- diff --git a/arch/sparc/kernel/module.c b/arch/sparc/kernel/module.c index 6e3d4dde4f9ab..49740450a6859 100644 --- a/arch/sparc/kernel/module.c +++ b/arch/sparc/kernel/module.c @@ -142,7 +142,7 @@ int apply_relocate_add(Elf_Shdr *sechdrs, break; default: - printk(KERN_ERR "module %s: Unknown relocation: %x\n", + printk(KERN_ERR "module %s: Unknown relocation: 0x%x\n", me->name, (int) (ELF_R_TYPE(rel[i].r_info) & 0xff)); return -ENOEXEC;