OSDN Git Service

s390/kprobes: have more correct if statement in s390_get_insn_slot()
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 2 Sep 2013 08:31:11 +0000 (10:31 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 24 Oct 2013 15:16:45 +0000 (17:16 +0200)
commitfcd05b50fca44be3f96f8a17c5cce778669c29e7
tree7998eb11586dee5eb488aa5c6272f3dd088f8bbb
parentfaf499dfccfd88d842164078917e7b6aae9a3cdb
s390/kprobes: have more correct if statement in s390_get_insn_slot()

When checking the insn address wether it is a kernel image or module
address it should be an if-else-if statement not two independent if
statements.
This doesn't really fix a bug, but matches s390_free_insn_slot().

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/kprobes.c