]> xenbits.xensource.com Git - xen.git/commit
VT-d: properly parenthesize a number of macros
authorJan Beulich <jbeulich@suse.com>
Tue, 4 Jan 2022 09:17:44 +0000 (10:17 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 4 Jan 2022 09:17:44 +0000 (10:17 +0100)
commit7762b7a1ec63b5ef0d5eceb1725de2a50b33ab20
tree9062abe2dd2e33856c90328c54132f391c1da26b
parent5b3f42001a55f58726201641e18ee8c0f82e2e16
VT-d: properly parenthesize a number of macros

Let's eliminate the risk of any of these macros getting used with more
complex expressions as arguments.

Where touching lines anyway, also
- switch from u64 to uint64_t,
- drop unnecessary parentheses,
- drop pointless 0x prefixes.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
xen/drivers/passthrough/vtd/iommu.h