[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1575600833-12839-1-git-send-email-linmiaohe@huawei.com>
Date: Fri, 6 Dec 2019 10:53:51 +0800
From: linmiaohe <linmiaohe@...wei.com>
To: <pbonzini@...hat.com>, <alex.williamson@...hat.com>
CC: <linmiaohe@...wei.com>, <kvm@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH 0/2] use jump label to handle resource release in irq_bypass_register_*
From: Miaohe Lin <linmiaohe@...wei.com>
Use out_err jump label to help handle resource release.
It's a good practice to release resource in one place
and help eliminate some duplicated code.
Miaohe Lin (2):
KVM: lib: use jump label to handle resource release in
irq_bypass_register_consumer()
KVM: lib: use jump label to handle resource release in
irq_bypass_register_producer()
virt/lib/irqbypass.c | 38 ++++++++++++++++++++------------------
1 file changed, 20 insertions(+), 18 deletions(-)
--
2.19.1
Powered by blists - more mailing lists