]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
um: virt-pci: Fix 32-bit compile
authorJohannes Berg <johannes.berg@intel.com>
Wed, 15 Sep 2021 18:30:20 +0000 (20:30 +0200)
committerPaolo Pisati <paolo.pisati@canonical.com>
Fri, 28 Jan 2022 09:59:39 +0000 (10:59 +0100)
commita126950be793a44feea570d2790acd5d517f4892
treeadb8f674e89c9dbd64e5af1d667c9e3ad3c8bfdc
parent9135ca39badf98e5122683f294135e0839951a30
um: virt-pci: Fix 32-bit compile

BugLink: https://bugs.launchpad.net/bugs/1959376
[ Upstream commit d73820df6437b5d0a57be53faf39db46a0264b3a ]

There were a few 32-bit compile warnings that of course
turned into errors with -Werror, fix the 32-bit build.

Fixes: 68f5d3f3b654 ("um: add PCI over virtio emulation driver")
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
arch/um/drivers/virt-pci.c