From 73ec729f1bb3cb4cc78db5327d6dd337a1fda7ef Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Sat, 9 Nov 2024 14:32:15 +0000 Subject: [PATCH] Revert "arm64/uprobes: change the uprobe_opcode_t typedef to fix the sparse warning" This reverts commit 9085d7eaac3f0bbe05b0545c54058fbbd404f999 which is commit ef08c0fadd8a17ebe429b85e23952dac3263ad34 upstream. It breaks the Android kernel abi and can be brought back in the future in an abi-safe way if it is really needed. Bug: 161946584 Change-Id: I4113669a7569a6cddddf224de40e3693479e541f Signed-off-by: Greg Kroah-Hartman --- arch/arm64/include/asm/uprobes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/include/asm/uprobes.h b/arch/arm64/include/asm/uprobes.h index 014b02897f8e..98f29a43bfe8 100644 --- a/arch/arm64/include/asm/uprobes.h +++ b/arch/arm64/include/asm/uprobes.h @@ -14,7 +14,7 @@ #define UPROBE_SWBP_INSN_SIZE AARCH64_INSN_SIZE #define UPROBE_XOL_SLOT_BYTES AARCH64_INSN_SIZE -typedef __le32 uprobe_opcode_t; +typedef u32 uprobe_opcode_t; struct arch_uprobe_task { };