diff options
author | Swapnil Ingle <swapnil.ingle@nutanix.com> | 2021-05-27 11:34:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-27 11:34:38 +0200 |
commit | e0690cf179293d983cb9a7837e7fa2ebc0308d30 (patch) | |
tree | 97d23597ae0893c4be91b9d7da9b708f5b34bf20 /samples/lspci.c | |
parent | cda5e5f812706524c21031dc1db1beaa52a673a4 (diff) | |
download | libvfio-user-e0690cf179293d983cb9a7837e7fa2ebc0308d30.zip libvfio-user-e0690cf179293d983cb9a7837e7fa2ebc0308d30.tar.gz libvfio-user-e0690cf179293d983cb9a7837e7fa2ebc0308d30.tar.bz2 |
Cleanup and fix structs padding (#532)
In case of bitfields compiler may use data type to allocate struct size
and add additional paddings. Instead use data type which is closest to
the total size of the bitfields.
This patch also uses uint* version consistently throughout.
Signed-off-by: Swapnil Ingle <swapnil.ingle@nutanix.com>
Reviewed-by: John Levon <john.levon@nutanix.com>
Diffstat (limited to 'samples/lspci.c')
0 files changed, 0 insertions, 0 deletions