From 97cb7d906e3ecc58fb702a4e5b8ce1d112d6a054 Mon Sep 17 00:00:00 2001 From: "yuhong.tao@intel.com" Date: Fri, 4 Jan 2019 08:16:13 +0800 Subject: [PATCH] hv: virq: fix wrong coding style hypervisor/arch/x86/virq.c missed a new line at: if (bitmap_test_and_clear_lock(...)) { vioapic_update_tmr(vcpu); Tracked-On: #861 Acked-by: Eddie Dong Signed-off-by: Tao Yuhong --- hypervisor/arch/x86/virq.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hypervisor/arch/x86/virq.c b/hypervisor/arch/x86/virq.c index bd2538c93..7c06a431c 100644 --- a/hypervisor/arch/x86/virq.c +++ b/hypervisor/arch/x86/virq.c @@ -402,7 +402,8 @@ int32_t acrn_handle_pending_request(struct acrn_vcpu *vcpu) flush_vpid_single(arch->vpid); } - if (bitmap_test_and_clear_lock(ACRN_REQUEST_TMR_UPDATE, pending_req_bits)) { vioapic_update_tmr(vcpu); + if (bitmap_test_and_clear_lock(ACRN_REQUEST_TMR_UPDATE, pending_req_bits)) { + vioapic_update_tmr(vcpu); } /* handling cancelled event injection when vcpu is switched out */