From 535085db57c2a12a52d5c6925d71de138fffc889 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Sat, 16 Nov 2024 10:14:10 +0000 Subject: [PATCH] Revert "arm64/uprobes: change the uprobe_opcode_t typedef to fix the sparse warning" This reverts commit 354b3847ead1bc41a66df8f4baa9fd12688e1a4e 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: Icaca1349a9483085afa6a282dd303efb138f64ba 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 { };