[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 11/14] nvdimm acpi: fix two comments
From: |
Igor Mammedov |
Subject: |
Re: [Qemu-devel] [PATCH 11/14] nvdimm acpi: fix two comments |
Date: |
Wed, 9 Nov 2016 17:41:05 +0100 |
On Mon, 7 Nov 2016 19:13:46 +0800
Xiao Guangrong <address@hidden> wrote:
> fixed the English issue and code-style issue
>
> Suggested-by: Stefan Hajnoczi <address@hidden>
> Signed-off-by: Xiao Guangrong <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
> ---
> hw/acpi/nvdimm.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> 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;
> }
- Re: [Qemu-devel] [PATCH 10/14] nvdimm acpi: define DSM return codes, (continued)
- [Qemu-devel] [PATCH 09/14] nvdimm acpi: rename nvdimm_acpi_hotplug, Xiao Guangrong, 2016/11/07
- [Qemu-devel] [PATCH 12/14] nvdimm acpi: rename nvdimm_dsm_reserved_root, Xiao Guangrong, 2016/11/07
- [Qemu-devel] [PATCH 11/14] nvdimm acpi: fix two comments, Xiao Guangrong, 2016/11/07
- [Qemu-devel] [PATCH 14/14] nvdimm acpi: introduce NVDIMM_DSM_MEMORY_SIZE, Xiao Guangrong, 2016/11/07
- [Qemu-devel] [PATCH 13/14] nvdimm acpi: use aml_name_decl to define named object, Xiao Guangrong, 2016/11/07