Commit 8d345097 authored by Zou Wei's avatar Zou Wei Committed by Thomas Bogendoerfer

KVM: MIPS/VZ: Remove unneeded semicolon

Fixes coccicheck warnings:

arch/mips/kvm/vz.c:1186:4-5: Unneeded semicolon
arch/mips/kvm/vz.c:1195:3-4: Unneeded semicolon
arch/mips/kvm/vz.c:1949:3-4: Unneeded semicolon
arch/mips/kvm/vz.c:1121:2-3: Unneeded semicolon
arch/mips/kvm/vz.c:2188:3-4: Unneeded semicolon
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarZou Wei <zou_wei@huawei.com>
Reviewed-by: default avatarHuacai Chen <chenhc@lemote.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 7ff1f626
...@@ -1118,7 +1118,7 @@ static enum emulation_result kvm_vz_gpsi_cache(union mips_instruction inst, ...@@ -1118,7 +1118,7 @@ static enum emulation_result kvm_vz_gpsi_cache(union mips_instruction inst,
break; break;
default: default:
break; break;
}; }
kvm_err("@ %#lx/%#lx CACHE (cache: %#x, op: %#x, base[%d]: %#lx, offset: %#x\n", kvm_err("@ %#lx/%#lx CACHE (cache: %#x, op: %#x, base[%d]: %#lx, offset: %#x\n",
curr_pc, vcpu->arch.gprs[31], cache, op, base, arch->gprs[base], curr_pc, vcpu->arch.gprs[31], cache, op, base, arch->gprs[base],
...@@ -1183,7 +1183,7 @@ static enum emulation_result kvm_trap_vz_handle_gpsi(u32 cause, u32 *opc, ...@@ -1183,7 +1183,7 @@ static enum emulation_result kvm_trap_vz_handle_gpsi(u32 cause, u32 *opc,
trace_kvm_hwr(vcpu, KVM_TRACE_RDHWR, trace_kvm_hwr(vcpu, KVM_TRACE_RDHWR,
KVM_TRACE_HWR(rd, sel), 0); KVM_TRACE_HWR(rd, sel), 0);
goto unknown; goto unknown;
}; }
trace_kvm_hwr(vcpu, KVM_TRACE_RDHWR, trace_kvm_hwr(vcpu, KVM_TRACE_RDHWR,
KVM_TRACE_HWR(rd, sel), arch->gprs[rt]); KVM_TRACE_HWR(rd, sel), arch->gprs[rt]);
...@@ -1192,7 +1192,7 @@ static enum emulation_result kvm_trap_vz_handle_gpsi(u32 cause, u32 *opc, ...@@ -1192,7 +1192,7 @@ static enum emulation_result kvm_trap_vz_handle_gpsi(u32 cause, u32 *opc,
break; break;
default: default:
goto unknown; goto unknown;
}; }
break; break;
unknown: unknown:
...@@ -1946,7 +1946,7 @@ static int kvm_vz_get_one_reg(struct kvm_vcpu *vcpu, ...@@ -1946,7 +1946,7 @@ static int kvm_vz_get_one_reg(struct kvm_vcpu *vcpu,
default: default:
*v = (long)kvm_read_c0_guest_prid(cop0); *v = (long)kvm_read_c0_guest_prid(cop0);
break; break;
}; }
break; break;
case KVM_REG_MIPS_CP0_EBASE: case KVM_REG_MIPS_CP0_EBASE:
*v = kvm_vz_read_gc0_ebase(); *v = kvm_vz_read_gc0_ebase();
...@@ -2185,7 +2185,7 @@ static int kvm_vz_set_one_reg(struct kvm_vcpu *vcpu, ...@@ -2185,7 +2185,7 @@ static int kvm_vz_set_one_reg(struct kvm_vcpu *vcpu,
default: default:
kvm_write_c0_guest_prid(cop0, v); kvm_write_c0_guest_prid(cop0, v);
break; break;
}; }
break; break;
case KVM_REG_MIPS_CP0_EBASE: case KVM_REG_MIPS_CP0_EBASE:
kvm_vz_write_gc0_ebase(v); kvm_vz_write_gc0_ebase(v);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment