xen/iommu: smmu: Use 1U << 31 rather than 1 << 31
authorJulien Grall <jgrall@amazon.com>
Thu, 24 Dec 2020 15:24:19 +0000 (15:24 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 12 Jan 2021 00:24:12 +0000 (16:24 -0800)
commit17b2ddf07a1b31c8c7ed96014772a0729e1460ac
tree025dba8ac1944fc9a1c0e3efbc39cc4275df0b6a
parentfaa0ab2a1df0381e00d85312247024b32d60a7b9
xen/iommu: smmu: Use 1U << 31 rather than 1 << 31

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

Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
[stefano: fix title and description]
Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/drivers/passthrough/arm/smmu.c