OSDN Git Service

acpi: nvdimm: change NVDIMM_UUID_LE to a common macro
authorDongjiu Geng <gengdongjiu@huawei.com>
Tue, 12 May 2020 03:06:00 +0000 (11:06 +0800)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 14 May 2020 14:03:08 +0000 (15:03 +0100)
commit1439f213074a8ebc30e6713ce1bf766407ddce46
tree0c274909c9a35b39efea695d35dd529e4b4c1ce9
parent143b040f4abfafcbb562252df9fb350192ae6160
acpi: nvdimm: change NVDIMM_UUID_LE to a common macro

The little end UUID is used in many places, so make
NVDIMM_UUID_LE to a common macro to convert the UUID
to a little end array.

Reviewed-by: Xiang Zheng <zhengxiang9@huawei.com>
Signed-off-by: Dongjiu Geng <gengdongjiu@huawei.com>
Message-id: 20200512030609.19593-2-gengdongjiu@huawei.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/acpi/nvdimm.c
include/qemu/uuid.h