]> xenbits.xensource.com Git - xen.git/commit
x86/PV: fix off-by-one in I/O bitmap limit check
authorJan Beulich <jbeulich@suse.com>
Tue, 27 Feb 2018 13:10:00 +0000 (14:10 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 27 Feb 2018 13:10:00 +0000 (14:10 +0100)
commitc6527bc66b6dd7a8dadaebb1047c8e52c6c5793c
tree6125347b89970e894271a4b92d9a62d7eaac75d5
parentd05f1eb3741b85ef37d92d2971528aab2fe64820
x86/PV: fix off-by-one in I/O bitmap limit check

With everyone having their tags below agreeing that putting things the
other way around in the comparison makes things easier to understand, do
that rearrangement while changing the line anyway.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.apu@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/pv/emul-priv-op.c