ARM: 6745/1: kprobes insn decoding fix
Marcin Slusarz says:
> In arch/arm/kernel/kprobes-decode.c there's a function
> arm_kprobe_decode_insn which does:
>
> } else if ((insn & 0x0e000000) == 0x0c400000) {
> ...
>
> This is always false, so code below is dead.
> I found this bug by coccinelle (http://coccinelle.lip6.fr/
).
Reported-by:  Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by:
Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by:  Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by:
Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by:  Russell King <rmk+kernel@arm.linux.org.uk>
Russell King <rmk+kernel@arm.linux.org.uk>
Loading
Please register or sign in to comment
