summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWei Yang2019-02-27 08:51:00 +0100
committerMichael S. Tsirkin2019-03-13 03:31:21 +0100
commit1b8fff57584d04a94cc77b8d3f535d35f5827a5e (patch)
tree83833ea33da39f31c113895d5b9c9489b9b2c2e5 /include
parentnvdimm: use *function* directly instead of allocating it again (diff)
downloadqemu-1b8fff57584d04a94cc77b8d3f535d35f5827a5e.tar.gz
qemu-1b8fff57584d04a94cc77b8d3f535d35f5827a5e.tar.xz
qemu-1b8fff57584d04a94cc77b8d3f535d35f5827a5e.zip
nvdimm: use NVDIMM_ACPI_IO_LEN for the proper IO size
The IO range is defined to 4 bytes with NVDIMM_ACPI_IO_LEN, so it is more proper to use this macro instead of calculating it by sizeof. Signed-off-by: Wei Yang <richardw.yang@linux.intel.com> Message-Id: <20190227075101.6263-4-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 'include')
0 files changed, 0 insertions, 0 deletions