iommu/arm: ipmmu-vmsa: Use 1U << 31 rather than 1 << 31
authorOleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Mon, 11 Jan 2021 10:33:55 +0000 (12:33 +0200)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 12 Jan 2021 00:31:15 +0000 (16:31 -0800)
commit0e97d99f0e9fc627f29680d20d2619184c894f14
tree2235466489f7cd9bc3f3c0b73c6fc1da5c27aa61
parent17b2ddf07a1b31c8c7ed96014772a0729e1460ac
iommu/arm: ipmmu-vmsa: Use 1U << 31 rather than 1 << 31

Replace all the use of 1 << 31 with 1U << 31 to prevent undefined
behavior in the IPMMU-VMSA driver.

Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/drivers/passthrough/arm/ipmmu-vmsa.c