From: Xiao Guangrong Date: Mon, 7 Nov 2016 11:13:46 +0000 (+0800) Subject: nvdimm acpi: fix two comments X-Git-Tag: TizenStudio_2.0_p2.3.2~9^2~14^2~5^2~41^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7adbce633908fd093e24eee50018898dc11802cc;p=sdk%2Femulator%2Fqemu.git nvdimm acpi: fix two comments fixed the English issue and code-style issue Suggested-by: Stefan Hajnoczi Signed-off-by: Xiao Guangrong Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Reviewed-by: Stefan Hajnoczi Reviewed-by: Igor Mammedov --- diff --git a/hw/acpi/nvdimm.c b/hw/acpi/nvdimm.c index c7e7744..6f6f51f 100644 --- a/hw/acpi/nvdimm.c +++ b/hw/acpi/nvdimm.c @@ -479,7 +479,7 @@ QEMU_BUILD_BUG_ON(sizeof(NvdimmFuncSetLabelDataIn) + offsetof(NvdimmDsmIn, arg3) > 4096); struct NvdimmFuncReadFITIn { - uint32_t offset; /* the offset of FIT buffer. */ + uint32_t offset; /* the offset into FIT buffer. */ } QEMU_PACKED; typedef struct NvdimmFuncReadFITIn NvdimmFuncReadFITIn; QEMU_BUILD_BUG_ON(sizeof(NvdimmFuncReadFITIn) + @@ -578,7 +578,7 @@ static void nvdimm_dsm_reserved_root(AcpiNVDIMMState *state, NvdimmDsmIn *in, case 0x0: nvdimm_dsm_function0(0x1 | 1 << 1 /* Read FIT */, dsm_mem_addr); return; - case 0x1 /*Read FIT */: + case 0x1 /* Read FIT */: nvdimm_dsm_func_read_fit(state, in, dsm_mem_addr); return; }