From nobody Sun Feb 8 02:26:37 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linux.intel.com Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1548315532316921.2469503399426; Wed, 23 Jan 2019 23:38:52 -0800 (PST) Received: from localhost ([127.0.0.1]:48883 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmZb0-0002Ce-NL for importer@patchew.org; Thu, 24 Jan 2019 02:38:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35133) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmZZW-0001aY-Ub for qemu-devel@nongnu.org; Thu, 24 Jan 2019 02:37:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gmZZV-0000Yq-15 for qemu-devel@nongnu.org; Thu, 24 Jan 2019 02:37:10 -0500 Received: from mga04.intel.com ([192.55.52.120]:50604) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gmZZU-0000CF-8m for qemu-devel@nongnu.org; Thu, 24 Jan 2019 02:37:08 -0500 Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Jan 2019 23:37:00 -0800 Received: from richard.sh.intel.com (HELO localhost) ([10.239.159.37]) by orsmga005.jf.intel.com with ESMTP; 23 Jan 2019 23:36:59 -0800 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,515,1539673200"; d="scan'208";a="293977112" From: Wei Yang To: qemu-devel@nongnu.org Date: Thu, 24 Jan 2019 15:36:26 +0800 Message-Id: <20190124073626.20534-1-richardw.yang@linux.intel.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 192.55.52.120 Subject: [Qemu-devel] [PATCH] hw/i386/pc.c: fix one typo in function name X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pbonzini@redhat.com, Wei Yang , rth@twiddle.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" Rename pc_get_hotpug_handler to pc_get_hotplug_handler. No functional change. Signed-off-by: Wei Yang Reviewed-by: Stefano Garzarella --- 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(HotplugHandle= r *hotplug_dev, } } =20 -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, vo= id *data) pcmc->save_tsc_khz =3D true; pcmc->linuxboot_dma_enabled =3D true; assert(!mc->get_hotplug_handler); - mc->get_hotplug_handler =3D pc_get_hotpug_handler; + mc->get_hotplug_handler =3D pc_get_hotplug_handler; mc->cpu_index_to_instance_props =3D pc_cpu_index_to_props; mc->get_default_cpu_node_id =3D pc_get_default_cpu_node_id; mc->possible_cpu_arch_ids =3D pc_possible_cpu_arch_ids; --=20 2.19.1