Re: [PATCH v4 08/11] KVM: arm/arm64: vgic-its: new helper functions to free the caches

2017-10-17 Thread Christoffer Dall
On Tue, Oct 17, 2017 at 09:10:06AM +0200, Eric Auger wrote: > From: wanghaibin > > We create 2 new functions that frees the device and > collection lists. this is currently called by vgic_its_destroy() > and we will add other callers in subsequent patches. See my previous comments about language

[PATCH v4 08/11] KVM: arm/arm64: vgic-its: new helper functions to free the caches

2017-10-17 Thread Eric Auger
From: wanghaibin We create 2 new functions that frees the device and collection lists. this is currently called by vgic_its_destroy() and we will add other callers in subsequent patches. We also remove the check on its->device_list.next as it looks unnecessary. Indeed, the device list always is