arm64/kprobes: remove an extra semicolon in arch_prepare_kprobe
authorzhong jiang <zhongjiang@huawei.com>
Thu, 9 Aug 2018 14:20:40 +0000 (22:20 +0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 1 Oct 2018 13:36:49 +0000 (14:36 +0100)
There is an extra semicolon in arch_prepare_kprobe, remove it.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/probes/kprobes.c

index e78c3ef..9b65132 100644 (file)
@@ -107,7 +107,7 @@ int __kprobes arch_prepare_kprobe(struct kprobe *p)
                if (!p->ainsn.api.insn)
                        return -ENOMEM;
                break;
-       };
+       }
 
        /* prepare the instruction */
        if (p->ainsn.api.insn)