Re: [PATCH] virt: kvm: arm: vgic: Process the failure case when kvm_register_device_ops() fails

2014-11-14 Thread Chen Gang
On 11/14/2014 10:53 PM, Marc Zyngier wrote: > On 14/11/14 14:27, Chen Gang wrote: >> On 11/14/2014 10:09 PM, Marc Zyngier wrote: >>> On 14/11/14 14:05, Chen Gang wrote: On 11/13/2014 11:30 PM, Marc Zyngier wrote: > On 13/11/14 15:04, Chen Gang wrote: >> When kvm_register_device_ops() f

Re: [PATCH] virt: kvm: arm: vgic: Process the failure case when kvm_register_device_ops() fails

2014-11-14 Thread Marc Zyngier
On 14/11/14 14:27, Chen Gang wrote: > On 11/14/2014 10:09 PM, Marc Zyngier wrote: >> On 14/11/14 14:05, Chen Gang wrote: >>> On 11/13/2014 11:30 PM, Marc Zyngier wrote: On 13/11/14 15:04, Chen Gang wrote: > When kvm_register_device_ops() fails, also need call free_percpu_irq() > just l

Re: [PATCH] virt: kvm: arm: vgic: Process the failure case when kvm_register_device_ops() fails

2014-11-14 Thread Chen Gang
On 11/14/2014 10:09 PM, Marc Zyngier wrote: > On 14/11/14 14:05, Chen Gang wrote: >> On 11/13/2014 11:30 PM, Marc Zyngier wrote: >>> On 13/11/14 15:04, Chen Gang wrote: When kvm_register_device_ops() fails, also need call free_percpu_irq() just like others have down within kvm_vgic_hyp_in

Re: [PATCH] virt: kvm: arm: vgic: Process the failure case when kvm_register_device_ops() fails

2014-11-14 Thread Marc Zyngier
On 14/11/14 14:05, Chen Gang wrote: > On 11/13/2014 11:30 PM, Marc Zyngier wrote: >> On 13/11/14 15:04, Chen Gang wrote: >>> When kvm_register_device_ops() fails, also need call free_percpu_irq() >>> just like others have down within kvm_vgic_hyp_init(). >>> >>> Signed-off-by: Chen Gang >>> --- >>

Re: [PATCH] virt: kvm: arm: vgic: Process the failure case when kvm_register_device_ops() fails

2014-11-14 Thread Chen Gang
On 11/13/2014 11:30 PM, Marc Zyngier wrote: > On 13/11/14 15:04, Chen Gang wrote: >> When kvm_register_device_ops() fails, also need call free_percpu_irq() >> just like others have down within kvm_vgic_hyp_init(). >> >> Signed-off-by: Chen Gang >> --- >> virt/kvm/arm/vgic.c | 10 -- >> 1

Re: [PATCH] virt: kvm: arm: vgic: Process the failure case when kvm_register_device_ops() fails

2014-11-14 Thread Chen Gang
On 11/13/2014 11:30 PM, Marc Zyngier wrote: > On 13/11/14 15:04, Chen Gang wrote: >> When kvm_register_device_ops() fails, also need call free_percpu_irq() >> just like others have down within kvm_vgic_hyp_init(). >> >> Signed-off-by: Chen Gang >> --- >> virt/kvm/arm/vgic.c | 10 -- >> 1

Re: [PATCH] virt: kvm: arm: vgic: Process the failure case when kvm_register_device_ops() fails

2014-11-13 Thread Marc Zyngier
On 13/11/14 15:04, Chen Gang wrote: > When kvm_register_device_ops() fails, also need call free_percpu_irq() > just like others have down within kvm_vgic_hyp_init(). > > Signed-off-by: Chen Gang > --- > virt/kvm/arm/vgic.c | 10 -- > 1 file changed, 8 insertions(+), 2 deletions(-) > > d

[PATCH] virt: kvm: arm: vgic: Process the failure case when kvm_register_device_ops() fails

2014-11-13 Thread Chen Gang
When kvm_register_device_ops() fails, also need call free_percpu_irq() just like others have down within kvm_vgic_hyp_init(). Signed-off-by: Chen Gang --- virt/kvm/arm/vgic.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/virt/kvm/arm/vgic.c b/virt/kvm/arm/vgic.c