Re: [PATCH 1/1] kvm: Clear variables which may not be used

2021-12-06 Thread Li Zhang
On 12/6/21 12:39 PM, Daniel P. Berrangé wrote: On Mon, Dec 06, 2021 at 12:27:38PM +0100, Li Zhang wrote: The variables msi, route in kvm_irqchip_send_msi may be uninitialised values in some cases. It's necessary to clear them. You say the patch is going to 'clear them' but Ah, sorry

Re: [PATCH 1/1] kvm: Clear variables which may not be used

2021-12-06 Thread Daniel P . Berrangé
On Mon, Dec 06, 2021 at 12:27:38PM +0100, Li Zhang wrote: > The variables msi, route in kvm_irqchip_send_msi may be uninitialised > values in some cases. It's necessary to clear them. You say the patch is going to 'clear them' but > > Signed-off-by: Li Zhang > --- > accel/kvm/kvm-all.c |

[PATCH 1/1] kvm: Clear variables which may not be used

2021-12-06 Thread Li Zhang
The variables msi, route in kvm_irqchip_send_msi may be uninitialised values in some cases. It's necessary to clear them. Signed-off-by: Li Zhang --- accel/kvm/kvm-all.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/accel/kvm/kvm-all.c b/accel/kvm/kvm-all.c index