* [Qemu-devel] [PATCH] hw/i386/pc.c: fix one typo in function name
@ 2019-01-24 7:36 Wei Yang
2019-01-24 9:22 ` Stefano Garzarella
2019-01-24 10:28 ` Laurent Vivier
0 siblings, 2 replies; 3+ messages in thread
From: Wei Yang @ 2019-01-24 7:36 UTC (permalink / raw)
To: qemu-devel; +Cc: pbonzini, rth, Wei Yang
Rename pc_get_hotpug_handler to pc_get_hotplug_handler.
No functional change.
Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
---
hw/i386/pc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 115bc2825c..5317e08f60 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -2059,7 +2059,7 @@ static void pc_machine_device_unplug_cb(HotplugHandler *hotplug_dev,
}
}
-static HotplugHandler *pc_get_hotpug_handler(MachineState *machine,
+static HotplugHandler *pc_get_hotplug_handler(MachineState *machine,
DeviceState *dev)
{
if (object_dynamic_cast(OBJECT(dev), TYPE_PC_DIMM) ||
@@ -2389,7 +2389,7 @@ static void pc_machine_class_init(ObjectClass *oc, void *data)
pcmc->save_tsc_khz = true;
pcmc->linuxboot_dma_enabled = true;
assert(!mc->get_hotplug_handler);
- mc->get_hotplug_handler = pc_get_hotpug_handler;
+ mc->get_hotplug_handler = pc_get_hotplug_handler;
mc->cpu_index_to_instance_props = pc_cpu_index_to_props;
mc->get_default_cpu_node_id = pc_get_default_cpu_node_id;
mc->possible_cpu_arch_ids = pc_possible_cpu_arch_ids;
--
2.19.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] hw/i386/pc.c: fix one typo in function name
2019-01-24 7:36 [Qemu-devel] [PATCH] hw/i386/pc.c: fix one typo in function name Wei Yang
@ 2019-01-24 9:22 ` Stefano Garzarella
2019-01-24 10:28 ` Laurent Vivier
1 sibling, 0 replies; 3+ messages in thread
From: Stefano Garzarella @ 2019-01-24 9:22 UTC (permalink / raw)
To: Wei Yang; +Cc: qemu-devel, qemu-trivial, pbonzini, rth
CCing qemu-trivial@nongnu.org
On Thu, Jan 24, 2019 at 03:36:26PM +0800, Wei Yang wrote:
> Rename pc_get_hotpug_handler to pc_get_hotplug_handler.
>
> No functional change.
>
> Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
> ---
> hw/i386/pc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] hw/i386/pc.c: fix one typo in function name
2019-01-24 7:36 [Qemu-devel] [PATCH] hw/i386/pc.c: fix one typo in function name Wei Yang
2019-01-24 9:22 ` Stefano Garzarella
@ 2019-01-24 10:28 ` Laurent Vivier
1 sibling, 0 replies; 3+ messages in thread
From: Laurent Vivier @ 2019-01-24 10:28 UTC (permalink / raw)
To: Wei Yang, qemu-devel; +Cc: pbonzini, rth, qemu-trivial@nongnu.org
On 24/01/2019 08:36, Wei Yang wrote:
> Rename pc_get_hotpug_handler to pc_get_hotplug_handler.
>
> No functional change.
>
> Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
> ---
> hw/i386/pc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/hw/i386/pc.c b/hw/i386/pc.c
> index 115bc2825c..5317e08f60 100644
> --- a/hw/i386/pc.c
> +++ b/hw/i386/pc.c
> @@ -2059,7 +2059,7 @@ static void pc_machine_device_unplug_cb(HotplugHandler *hotplug_dev,
> }
> }
>
> -static HotplugHandler *pc_get_hotpug_handler(MachineState *machine,
> +static HotplugHandler *pc_get_hotplug_handler(MachineState *machine,
> DeviceState *dev)
> {
> if (object_dynamic_cast(OBJECT(dev), TYPE_PC_DIMM) ||
> @@ -2389,7 +2389,7 @@ static void pc_machine_class_init(ObjectClass *oc, void *data)
> pcmc->save_tsc_khz = true;
> pcmc->linuxboot_dma_enabled = true;
> assert(!mc->get_hotplug_handler);
> - mc->get_hotplug_handler = pc_get_hotpug_handler;
> + mc->get_hotplug_handler = pc_get_hotplug_handler;
> mc->cpu_index_to_instance_props = pc_cpu_index_to_props;
> mc->get_default_cpu_node_id = pc_get_default_cpu_node_id;
> mc->possible_cpu_arch_ids = pc_possible_cpu_arch_ids;
>
Applied to my trivial-patches branch.
Thanks,
Laurent
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-01-24 10:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-24 7:36 [Qemu-devel] [PATCH] hw/i386/pc.c: fix one typo in function name Wei Yang
2019-01-24 9:22 ` Stefano Garzarella
2019-01-24 10:28 ` Laurent Vivier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).