]> git.baikalelectronics.ru Git - kernel.git/commitdiff
KVM: arm64: Remove spurious semicolon in reg_to_encoding()
authorMarc Zyngier <maz@kernel.org>
Thu, 31 Dec 2020 15:05:46 +0000 (15:05 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 31 Dec 2020 15:05:46 +0000 (15:05 +0000)
Although not a problem right now, it flared up while working
on some other aspects of the code-base. Remove the useless
semicolon.

Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/sys_regs.c

index d46e7f706cb060e82d344841a890db9abea6f266..42ccc27fb684cad8bce5c5587fa5291468ee0b92 100644 (file)
@@ -923,7 +923,7 @@ static bool access_pmuserenr(struct kvm_vcpu *vcpu, struct sys_reg_params *p,
 
 #define reg_to_encoding(x)                                             \
        sys_reg((u32)(x)->Op0, (u32)(x)->Op1,                           \
-               (u32)(x)->CRn, (u32)(x)->CRm, (u32)(x)->Op2);
+               (u32)(x)->CRn, (u32)(x)->CRm, (u32)(x)->Op2)
 
 /* Silly macro to expand the DBG{BCR,BVR,WVR,WCR}n_EL1 registers in one go */
 #define DBG_BCR_BVR_WCR_WVR_EL1(n)                                     \