aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/virtio_uml.c
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2021-09-15 18:30:21 +0000
committerRichard Weinberger <[email protected]>2021-12-21 20:27:21 +0000
commit4e84139e14af5ea60772cc4f33d7059aec76e0eb (patch)
treef184e59cd55a342ffbc13e00332c1f0f09122e53 /arch/um/drivers/virtio_uml.c
parentum: virt-pci: Fix 32-bit compile (diff)
downloadkernel-4e84139e14af5ea60772cc4f33d7059aec76e0eb.tar.gz
kernel-4e84139e14af5ea60772cc4f33d7059aec76e0eb.zip
lib/logic_iomem: Fix 32-bit build
On a 32-bit build, the (unsigned long long) casts throw warnings (or errors) due to being to a different integer size. Cast to uintptr_t first (with the __force for sparse) and then further to get the consistent print on 32 and 64-bit. Fixes: ca2e334232b6 ("lib: add iomem emulation (logic_iomem)") Reported-by: Al Viro <[email protected]> Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'arch/um/drivers/virtio_uml.c')
0 files changed, 0 insertions, 0 deletions