diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2015-12-18 01:35:47 (GMT) |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2015-12-21 22:28:11 (GMT) |
commit | 77d6bd47cc2824af016086c2bd4650685b159e22 (patch) | |
tree | ca38a26879aa8b2e34844d5f5f58735b1f8d9b1c /drivers/bus | |
parent | 967628827f404b3063016c138ccc7b06c54350f8 (diff) | |
download | linux-77d6bd47cc2824af016086c2bd4650685b159e22.tar.xz |
vfio: Add explicit alignments in vfio_iommu_spapr_tce_create
The vfio_iommu_spapr_tce_create struct has 4x32bit and 2x64bit fields
which should have resulted in sizeof(fio_iommu_spapr_tce_create) equal
to 32 bytes. However due to the gcc's default alignment, the actual
size of this struct is 40 bytes.
This fills gaps with __resv1/2 fields.
This should not cause any change in behavior.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions