f598e61b273b6eff58c author Izik Eidus 1248805618 -0300 committer Avi Kivity 1252560800 +0300 KVM: MMU: make __kvm_mmu_free_some_pages handle empty list First check if the list is empty before attempting to look at list entries. Cc: stable@kernel.org Signed-off-by: Izik Eidus Signed-off-by: Marcelo Tosatti Signed-off-by: Avi Kivity