]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: kprobes: Fix compilation error caused by superfluous '*'
authorJon Medhurst <tixy@linaro.org>
Tue, 10 Feb 2015 07:03:22 +0000 (15:03 +0800)
committerJon Medhurst <tixy@linaro.org>
Tue, 10 Feb 2015 07:05:30 +0000 (15:05 +0800)
commit4e1c0664de11e4b5861957ab4ddff2aeeffd042f
treec80b842b7ee8668eea89eb4202abfc0ed5452ab7
parentfb892bd0fdcb2e5eac9c105cf68def90396ed8cc
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>
arch/arm/probes/kprobes/core.h