KVM: s390: pfmf: handle address overflows
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Thu, 12 May 2016 12:07:05 +0000 (14:07 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 10 Jun 2016 10:07:30 +0000 (12:07 +0200)
commit695be0e7a24a8875c347437566f2c44ba673580b
tree4347fde126c1dee60dd1bc5317728f0c990430ce
parent1824c723ac90f9870ebafae4b3b3e5f4b82ffeef
KVM: s390: pfmf: handle address overflows

In theory, end could always end up being < start, if overflowing to 0.
Although very unlikely for now, let's just fix it.

Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/priv.c