diff options
author | Igor Mammedov | 2021-09-24 14:27:57 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2021-10-05 23:30:57 +0200 |
commit | 88b1045eadd699335ffab0c9235f096f3a8cf771 (patch) | |
tree | c7ff5b5e90df3a7106f903e803cc1b23858ab8bf /include | |
parent | acpi: arm/virt: convert build_iort() to endian agnostic build_append_FOO() API (diff) | |
download | qemu-88b1045eadd699335ffab0c9235f096f3a8cf771.tar.gz qemu-88b1045eadd699335ffab0c9235f096f3a8cf771.tar.xz qemu-88b1045eadd699335ffab0c9235f096f3a8cf771.zip |
acpi: arm/virt: build_spcr: fix invalid cast
implicit cast to structure uint8_t member didn't raise error when
assigning value from incorrect enum, but when using build_append_gas()
(next patch) it will error out with (clang):
implicit conversion from enumeration type 'AmlRegionSpace'
to different enumeration type 'AmlAddressSpace'
fix cast error by using correct AML_AS_SYSTEM_MEMORY enum
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-Id: <20210924122802.1455362-31-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions