[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-trivial] [Qemu-devel] [PATCH v9 02/13] mptsas: change .realize

From: Cao jin
Subject: Re: [Qemu-trivial] [Qemu-devel] [PATCH v9 02/13] mptsas: change .realize function name
Date: Wed, 6 Jul 2016 11:02:04 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

I guess this one is suitable for trivial tree, so CC them

On 06/20/2016 02:13 PM, Cao jin wrote:
All the other devices` .realize function name are xxx_realize, except this one.

cc: Michael S. Tsirkin <address@hidden>
cc: Marcel Apfelbaum <address@hidden>
cc: Paolo Bonzini <address@hidden>
cc: Markus Armbruster <address@hidden>

Reviewed-by: Markus Armbruster <address@hidden>
Reviewed-by: Marcel Apfelbaum <address@hidden>
Signed-off-by: Cao jin <address@hidden>
  hw/scsi/mptsas.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/scsi/mptsas.c b/hw/scsi/mptsas.c
index be88e16..ae8514e 100644
--- a/hw/scsi/mptsas.c
+++ b/hw/scsi/mptsas.c
@@ -1269,7 +1269,7 @@ static const struct SCSIBusInfo mptsas_scsi_info = {
      .load_request = mptsas_load_request,

-static void mptsas_scsi_init(PCIDevice *dev, Error **errp)
+static void mptsas_scsi_realize(PCIDevice *dev, Error **errp)
      DeviceState *d = DEVICE(dev);
      MPTSASState *s = MPT_SAS(dev);
@@ -1412,7 +1412,7 @@ static void mptsas1068_class_init(ObjectClass *oc, void 
      DeviceClass *dc = DEVICE_CLASS(oc);
      PCIDeviceClass *pc = PCI_DEVICE_CLASS(oc);

-    pc->realize = mptsas_scsi_init;
+    pc->realize = mptsas_scsi_realize;
      pc->exit = mptsas_scsi_uninit;
      pc->romfile = 0;
      pc->vendor_id = PCI_VENDOR_ID_LSI_LOGIC;

Yours Sincerely,

Cao jin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]