lkml.org 
[lkml]   [2019]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 0/2] use jump label to handle resource release in irq_bypass_register_*
From
Date
On 06/12/19 03:53, linmiaohe wrote:
> From: Miaohe Lin <linmiaohe@huawei.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(-)
>

Queued, thanks.

Paolo

\
 
 \ /
  Last update: 2019-12-09 18:07    [W:0.035 / U:13.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site