diff options
author | Suzuki K Poulose <suzuki.poulose@arm.com> | 2024-01-26 02:20:39 +0300 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2024-03-27 01:17:35 +0300 |
commit | ac266cbfbcc498dc705b26420590177f790b7b78 (patch) | |
tree | 99d6016d84454b223a13ae1b0716af107b0040e8 /drivers | |
parent | be300fb44a5c1efb27be55a52fb6b1656af68234 (diff) | |
download | linux-ac266cbfbcc498dc705b26420590177f790b7b78.tar.xz |
virtio: uapi: Drop __packed attribute in linux/virtio_pci.h
[ Upstream commit ec6ecb844d14d38b7dae8beb74e3d65db9c7b3e6 ]
Commit 92792ac752aa ("virtio-pci: Introduce admin command sending function")
added "__packed" structures to UAPI header linux/virtio_pci.h. This triggers
build failures in the consumer userspace applications without proper "definition"
of __packed (e.g., kvmtool build fails).
Moreover, the structures are already packed well, and doesn't need explicit
packing, similar to the rest of the structures in all virtio_* headers. Remove
the __packed attribute.
Fixes: 92792ac752aa ("virtio-pci: Introduce admin command sending function")
Cc: Feng Liu <feliu@nvidia.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Yishai Hadas <yishaih@nvidia.com>
Cc: Alex Williamson <alex.williamson@redhat.com>
Cc: Jean-Philippe Brucker <jean-philippe@linaro.org>
Reviewed-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Message-Id: <20240125232039.913606-1-suzuki.poulose@arm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions