[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 12/14] nvdimm acpi: rename nvdimm_dsm_reserved_r
From: |
Igor Mammedov |
Subject: |
Re: [Qemu-devel] [PATCH 12/14] nvdimm acpi: rename nvdimm_dsm_reserved_root |
Date: |
Wed, 9 Nov 2016 17:41:20 +0100 |
On Mon, 7 Nov 2016 19:13:47 +0800
Xiao Guangrong <address@hidden> wrote:
> Rename it to nvdimm_dsm_handle_reserved_root_method
>
> Suggested-by: Igor Mammedov <address@hidden>
> Signed-off-by: Xiao Guangrong <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
> ---
> hw/acpi/nvdimm.c | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/hw/acpi/nvdimm.c b/hw/acpi/nvdimm.c
> index 6f6f51f..6692648 100644
> --- a/hw/acpi/nvdimm.c
> +++ b/hw/acpi/nvdimm.c
> @@ -571,8 +571,9 @@ exit:
> g_free(read_fit_out);
> }
>
> -static void nvdimm_dsm_reserved_root(AcpiNVDIMMState *state, NvdimmDsmIn *in,
> - hwaddr dsm_mem_addr)
> +static void
> +nvdimm_dsm_handle_reserved_root_method(AcpiNVDIMMState *state,
> + NvdimmDsmIn *in, hwaddr dsm_mem_addr)
> {
> switch (in->function) {
> case 0x0:
> @@ -842,7 +843,7 @@ nvdimm_dsm_write(void *opaque, hwaddr addr, uint64_t val,
> unsigned size)
> }
>
> if (in->handle == NVDIMM_QEMU_RSVD_HANDLE_ROOT) {
> - nvdimm_dsm_reserved_root(state, in, dsm_mem_addr);
> + nvdimm_dsm_handle_reserved_root_method(state, in, dsm_mem_addr);
> goto exit;
> }
>
- Re: [Qemu-devel] [PATCH 08/14] nvdimm acpi: cleanup nvdimm_build_fit, (continued)
- [Qemu-devel] [PATCH 10/14] nvdimm acpi: define DSM return codes, Xiao Guangrong, 2016/11/07
- [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