]> xenbits.xensource.com Git - xen.git/commit
x86/shadow: correct an inverted conditional in dirty VRAM tracking
authorJan Beulich <jbeulich@suse.com>
Tue, 7 Jul 2020 12:36:24 +0000 (14:36 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 7 Jul 2020 12:36:24 +0000 (14:36 +0200)
commit23a216f99d40fbfbc2318ade89d8213eea6ba1f8
tree8c30a2f2c9bd7b959a61d7967088febff1141f34
parent2e9c2bc292231823a3a021d2e0a9f1956bf00b3c
x86/shadow: correct an inverted conditional in dirty VRAM tracking

This originally was "mfn_x(mfn) == INVALID_MFN". Make it like this
again, taking the opportunity to also drop the unnecessary nearby
braces.

This is XSA-319.

Fixes: 246a5a3377c2 ("xen: Use a typesafe to define INVALID_MFN")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/mm/shadow/common.c