summaryrefslogtreecommitdiffstats
path: root/hw/acpi/nvdimm.c
diff options
context:
space:
mode:
authorWei Yang2019-02-27 08:50:58 +0100
committerMichael S. Tsirkin2019-03-13 03:31:21 +0100
commitb096c11458e58ddcebf8e6ae239a3c608de1ef78 (patch)
tree060d7de1260f4d1a4103d6a448eb527fc066b1e0 /hw/acpi/nvdimm.c
parentintel_iommu: add scalable-mode option to make scalable mode work (diff)
downloadqemu-b096c11458e58ddcebf8e6ae239a3c608de1ef78.tar.gz
qemu-b096c11458e58ddcebf8e6ae239a3c608de1ef78.tar.xz
qemu-b096c11458e58ddcebf8e6ae239a3c608de1ef78.zip
nvdimm: fix typo in nvdimm_build_nvdimm_devices argument
>From dsm_dma_arrea to dsm_dma_area. Signed-off-by: Wei Yang <richardw.yang@linux.intel.com> Message-Id: <20190227075101.6263-2-richardw.yang@linux.intel.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Diffstat (limited to 'hw/acpi/nvdimm.c')
-rw-r--r--hw/acpi/nvdimm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/acpi/nvdimm.c b/hw/acpi/nvdimm.c
index f73cfb9d90..280bfb9d78 100644
--- a/hw/acpi/nvdimm.c
+++ b/hw/acpi/nvdimm.c
@@ -1260,7 +1260,7 @@ static void nvdimm_build_nvdimm_devices(Aml *root_dev, uint32_t ram_slots)
}
static void nvdimm_build_ssdt(GArray *table_offsets, GArray *table_data,
- BIOSLinker *linker, GArray *dsm_dma_arrea,
+ BIOSLinker *linker, GArray *dsm_dma_area,
uint32_t ram_slots)
{
Aml *ssdt, *sb_scope, *dev;
@@ -1307,7 +1307,7 @@ static void nvdimm_build_ssdt(GArray *table_offsets, GArray *table_data,
NVDIMM_ACPI_MEM_ADDR);
bios_linker_loader_alloc(linker,
- NVDIMM_DSM_MEM_FILE, dsm_dma_arrea,
+ NVDIMM_DSM_MEM_FILE, dsm_dma_area,
sizeof(NvdimmDsmIn), false /* high memory */);
bios_linker_loader_add_pointer(linker,
ACPI_BUILD_TABLE_FILE, mem_addr_offset, sizeof(uint32_t),