Skip to content

Commit 4e1c066

Browse files
committed
ARM: kprobes: Fix compilation error caused by superfluous '*'
There is a superfluous '*' in the definition of kprobe_decode_insn_t which on older versions of GCC (4.2.4) causes the compilation error: In file included from arch/arm/probes/kprobes/core.c:37: arch/arm/probes/kprobes/core.h:43: error: '[*]' not allowed in other than a declaration Fix this by removing the unneeded character. Reported-by: Janusz Użycki <[email protected]> Signed-off-by: Jon Medhurst <[email protected]>
1 parent fb892bd commit 4e1c066

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/probes/kprobes/core.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ typedef enum probes_insn (kprobe_decode_insn_t)(probes_opcode_t,
4040
struct arch_probes_insn *,
4141
bool,
4242
const union decode_action *,
43-
const struct decode_checker *[*]);
43+
const struct decode_checker *[]);
4444

4545
#ifdef CONFIG_THUMB2_KERNEL
4646

0 commit comments

Comments
 (0)