KVM: s390: guestdbg: fix range check
authorDavid Hildenbrand <david@redhat.com>
Wed, 30 Aug 2017 16:06:00 +0000 (18:06 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 31 Aug 2017 11:49:39 +0000 (13:49 +0200)
commit8149fc07724a1eee65d772749935bd923ae4f686
tree224fda511f003976bb19b772b56f0dc41a493e8d
parent1935222dc2f22ea885e7a7ece6d1be586aafe4a1
KVM: s390: guestdbg: fix range check

Looks like the "overflowing" range check is wrong.

|=======b-------a=======|

addr >= a || addr <= b

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170830160603.5452-2-david@redhat.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/guestdbg.c