summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2021-09-15 20:30:21 +0200
committerRichard Weinberger <richard@nod.at>2021-12-21 21:27:21 +0100
commit4e84139e14af5ea60772cc4f33d7059aec76e0eb (patch)
treef184e59cd55a342ffbc13e00332c1f0f09122e53 /rust/alloc/collections/git@git.tavy.me:linux.git
parentd73820df6437b5d0a57be53faf39db46a0264b3a (diff)
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 <viro@zeniv.linux.org.uk> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions