qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Knut Omang <knut.omang@oracle.com>
To: "Gonglei (Arei)" <arei.gonglei@huawei.com>
Cc: Marcel Apfelbaum <marcel.a@redhat.com>,
	Alexey Kardashevskiy <aik@ozlabs.ru>,
	Juan Quintela <quintela@redhat.com>,
	Markus Armbruster <armbru@redhat.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	Igor Mammedov <imammedo@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v2 3/4] ioh3420: Remove obsoleted, unused ioh3420_init function
Date: Mon, 25 Aug 2014 11:15:12 +0200	[thread overview]
Message-ID: <1408958112.14053.192.camel@abi.no.oracle.com> (raw)
In-Reply-To: <33183CC9F5247A488A2544077AF1902086D6E203@SZXEMA503-MBS.china.huawei.com>

On Mon, 2014-08-25 at 07:47 +0000, Gonglei (Arei) wrote:
> > -----Original Message-----
> > From: Knut Omang [mailto:knut.omang@oracle.com]
> > Sent: Sunday, August 24, 2014 9:32 PM
> > To: qemu-devel@nongnu.org
> > Cc: Michael S. Tsirkin; Alexey Kardashevskiy; Juan Quintela; Marcel Apfelbaum;
> > Markus Armbruster; Paolo Bonzini; Gonglei (Arei); Igor Mammedov; Knut
> > Omang
> > Subject: [PATCH v2 3/4] ioh3420: Remove obsoleted, unused ioh3420_init
> > function
> > 
> > Signed-off-by: Knut Omang <knut.omang@oracle.com>
> > ---
> >  hw/pci-bridge/ioh3420.c | 24 ------------------------
> >  1 file changed, 24 deletions(-)
> > 
> > diff --git a/hw/pci-bridge/ioh3420.c b/hw/pci-bridge/ioh3420.c
> > index aed2bf1..e6674a1 100644
> > --- a/hw/pci-bridge/ioh3420.c
> > +++ b/hw/pci-bridge/ioh3420.c
> > @@ -157,30 +157,6 @@ static void ioh3420_exitfn(PCIDevice *d)
> >      pci_bridge_exitfn(d);
> >  }
> > 
> > -PCIESlot *ioh3420_init(PCIBus *bus, int devfn, bool multifunction,
> > -                         const char *bus_name, pci_map_irq_fn
> > map_irq,
> > -                         uint8_t port, uint8_t chassis, uint16_t slot)
> > -{
> > -    PCIDevice *d;
> > -    PCIBridge *br;
> > -    DeviceState *qdev;
> > -
> > -    d = pci_create_multifunction(bus, devfn, multifunction, "ioh3420");
> > -    if (!d) {
> > -        return NULL;
> > -    }
> > -    br = PCI_BRIDGE(d);
> > -
> > -    qdev = DEVICE(d);
> > -    pci_bridge_map_irq(br, bus_name, map_irq);
> > -    qdev_prop_set_uint8(qdev, "port", port);
> > -    qdev_prop_set_uint8(qdev, "chassis", chassis);
> > -    qdev_prop_set_uint16(qdev, "slot", slot);
> > -    qdev_init_nofail(qdev);
> > -
> > -    return PCIE_SLOT(d);
> > -}
> > -
> >  static Property ioh3420_props[] = {
> >      DEFINE_PROP_BIT(COMPAT_PROP_PCP, PCIDevice, cap_present,
> >                      QEMU_PCIE_SLTCAP_PCP_BITNR, true),
> > --
> > 1.9.0
> 
> That's OK. But the declaration of header file should also be removed.
> I noticed MST have pulled into master tree. So, maybe I can post
> another patch to fix this trivial problem.

Yes, definitely, an obvious mistake from me, sorry.
Don't understand how I could have overlooked that..

Knut

> Best regards,
> -Gonglei

  reply	other threads:[~2014-08-25  9:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-24 13:32 [Qemu-devel] [PATCH v2 0/4] q35: Minor fixes/enhancements to improve usability of root ports Knut Omang
2014-08-24 13:32 ` [Qemu-devel] [PATCH v2 1/4] pcie: Fix incorrect write to the ari capability next function field Knut Omang
2014-08-24 13:32 ` [Qemu-devel] [PATCH v2 2/4] pcie: Rename the pcie_cap_ari_* functions to pcie_cap_arifwd_* Knut Omang
2014-08-24 13:32 ` [Qemu-devel] [PATCH v2 3/4] ioh3420: Remove obsoleted, unused ioh3420_init function Knut Omang
2014-08-25  7:47   ` Gonglei (Arei)
2014-08-25  9:15     ` Knut Omang [this message]
2014-08-24 13:32 ` [Qemu-devel] [PATCH v2 4/4] ioh3420: Enable ARI forwarding Knut Omang
2014-08-24 22:52   ` Michael S. Tsirkin
2014-08-25  6:09     ` Gonglei (Arei)
2014-08-25  9:13       ` Knut Omang
2014-08-25 19:57         ` Michael S. Tsirkin
2014-08-24 20:44 ` [Qemu-devel] [PATCH v2 0/4] q35: Minor fixes/enhancements to improve usability of root ports Michael S. Tsirkin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1408958112.14053.192.camel@abi.no.oracle.com \
    --to=knut.omang@oracle.com \
    --cc=aik@ozlabs.ru \
    --cc=arei.gonglei@huawei.com \
    --cc=armbru@redhat.com \
    --cc=imammedo@redhat.com \
    --cc=marcel.a@redhat.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).