diff options
author | Jon Medhurst <tixy@linaro.org> | 2015-02-10 02:03:22 -0500 |
---|---|---|
committer | Jon Medhurst <tixy@linaro.org> | 2015-02-10 02:05:30 -0500 |
commit | 4e1c0664de11e4b5861957ab4ddff2aeeffd042f (patch) | |
tree | c80b842b7ee8668eea89eb4202abfc0ed5452ab7 | |
parent | fb892bd0fdcb2e5eac9c105cf68def90396ed8cc (diff) |
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 <j.uzycki@elproma.com.pl>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
-rw-r--r-- | arch/arm/probes/kprobes/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/probes/kprobes/core.h b/arch/arm/probes/kprobes/core.h index b3036c587a76..ec5d1f20a085 100644 --- a/arch/arm/probes/kprobes/core.h +++ b/arch/arm/probes/kprobes/core.h | |||
@@ -40,7 +40,7 @@ typedef enum probes_insn (kprobe_decode_insn_t)(probes_opcode_t, | |||
40 | struct arch_probes_insn *, | 40 | struct arch_probes_insn *, |
41 | bool, | 41 | bool, |
42 | const union decode_action *, | 42 | const union decode_action *, |
43 | const struct decode_checker *[*]); | 43 | const struct decode_checker *[]); |
44 | 44 | ||
45 | #ifdef CONFIG_THUMB2_KERNEL | 45 | #ifdef CONFIG_THUMB2_KERNEL |
46 | 46 | ||