arm: kprobe compilation error

From: Janusz UÅycki
Date: Thu Feb 05 2015 - 10:17:26 EST


Hi,

I got the compilation error on next-20150204:

CC arch/arm/probes/kprobes/actions-arm.o
In file included from arch/arm/probes/kprobes/actions-common.c:18:
arch/arm/probes/kprobes/core.h:43: error: '[*]' not allowed in other than a declaration
make[2]: *** [arch/arm/probes/kprobes/actions-common.o] BÅÄd 1
make[2]: *** Oczekiwanie na niezakoÅczone zadania....
In file included from arch/arm/probes/kprobes/actions-arm.c:66:
arch/arm/probes/kprobes/core.h:43: error: '[*]' not allowed in other than a declaration
make[2]: *** [arch/arm/probes/kprobes/actions-arm.o] BÅÄd 1
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
make[2]: *** [arch/arm/probes/kprobes/core.o] BÅÄd 1
make[1]: *** [arch/arm/probes/kprobes] BÅÄd 2
make: *** [arch/arm/probes] BÅÄd 2

reason is *[*]:
const struct decode_checker *[*]);
^

target: mxs (arm926)
gcc version 4.2.4


best regards
Janusz

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/