vpci/msix: fix incorrect usage of bitmask
authorRoger Pau Monné <roger.pau@citrix.com>
Mon, 26 Mar 2018 13:17:12 +0000 (15:17 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 26 Mar 2018 13:17:12 +0000 (15:17 +0200)
commit9f5b0ce10b2895b4136c9e5c5ebd0aebac31ea98
treee9eef84b42c405cb5db21250719f7cec36a45afa
parent91a8ffe3d1bc43498b76abb63d2dfb078dd5bd01
vpci/msix: fix incorrect usage of bitmask

The bitmask to clear the low bits of the address field should be
~0xffffffffull, the current mask clears both the low and the high bits
of the address field, which is a bug.

Reported-by: Coverity
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/vpci/msix.c