iommu/amd: Fix union of bitfields in intcapxt support
authorDavid Woodhouse <dwmw@amazon.co.uk>
Wed, 11 Nov 2020 14:43:21 +0000 (14:43 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 11 Nov 2020 22:01:57 +0000 (23:01 +0100)
commit2fb6acf3edfeb904505f9ba3fd01166866062591
tree7dfcea7dbfcf716f74010c9932582eb0b246967a
parentaec8da04e4d71afdd4ab3025ea34a6517435f363
iommu/amd: Fix union of bitfields in intcapxt support

All the bitfields in here are overlaid on top of each other since
they're a union. Change the second u64 to be in a struct so it does
the intended thing.

Fixes: b5c3786ee370 ("iommu/amd: Use msi_msg shadow structs")
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20201111144322.1659970-2-dwmw2@infradead.org
drivers/iommu/amd/init.c