[Xen-devel] Re: [PATCH 20/23] xen-pcifront: Xen PCI frontend driver.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jan Beulich
Date: Thursday, October 14, 2010 - 12:15 am

>>> On 13.10.10 at 18:16, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote:

There's one more missing "static", and one incorrect change to
free_pdev() you did.

Also, any word on the pdev_lock you dropped from the original
implementation?


Feel free to do so.


static?


	if (pdev->irq > 0)

It gets initialized to -1 in alloc_pdev(). It may be debatable whether
it should be >= 0 - I'm not sure if the pv-ops code allows IRQ 0 to
be used. If it doesn't, initializing to 0 in alloc_pdev() would be an
alternative.


Why are you commenting it out rather than removing it?

Jan

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v8] Xen PCI + Xen PCI frontend driver., Konrad Rzeszutek Wilk, (Tue Oct 12, 8:44 am)
[PATCH 02/23] xen: define BIOVEC_PHYS_MERGEABLE(), Konrad Rzeszutek Wilk, (Tue Oct 12, 8:44 am)
[PATCH 03/23] xen: implement pirq type event channels, Konrad Rzeszutek Wilk, (Tue Oct 12, 8:44 am)
[PATCH 06/23] xen: dynamically allocate irq &amp; event structures, Konrad Rzeszutek Wilk, (Tue Oct 12, 8:44 am)
[PATCH 09/23] xen: Find an unbound irq number in reverse o ..., Konrad Rzeszutek Wilk, (Tue Oct 12, 8:44 am)
[PATCH 10/23] xen: Provide a variant of xen_poll_irq with ..., Konrad Rzeszutek Wilk, (Tue Oct 12, 8:44 am)
[PATCH 11/23] xen: fix shared irq device passthrough, Konrad Rzeszutek Wilk, (Tue Oct 12, 8:44 am)
[PATCH 15/23] msi: Introduce default_[teardown|setup]_msi_ ..., Konrad Rzeszutek Wilk, (Tue Oct 12, 8:44 am)
[PATCH 16/23] x86: Introduce x86_msi_ops, Konrad Rzeszutek Wilk, (Tue Oct 12, 8:44 am)
[PATCH 17/23] xen/x86/PCI: Add support for the Xen PCI sub ..., Konrad Rzeszutek Wilk, (Tue Oct 12, 8:44 am)
[PATCH 18/23] xenbus: Xen paravirtualised PCI hotplug support., Konrad Rzeszutek Wilk, (Tue Oct 12, 8:44 am)
[PATCH 20/23] xen-pcifront: Xen PCI frontend driver., Konrad Rzeszutek Wilk, (Tue Oct 12, 8:44 am)
[PATCH 22/23] MAINTAINERS: Add myself for Xen PCI and Xen ..., Konrad Rzeszutek Wilk, (Tue Oct 12, 8:44 am)
[PATCH 23/23] swiotlb-xen: On x86-32 builts, select SWIOTL ..., Konrad Rzeszutek Wilk, (Tue Oct 12, 8:44 am)
Re: [PATCH 20/23] xen-pcifront: Xen PCI frontend driver., Konrad Rzeszutek Wilk, (Wed Oct 13, 6:53 am)
Re: [PATCH 20/23] xen-pcifront: Xen PCI frontend driver., Konrad Rzeszutek Wilk, (Wed Oct 13, 9:16 am)
[Xen-devel] Re: [PATCH 20/23] xen-pcifront: Xen PCI fronte ..., Jan Beulich, (Thu Oct 14, 12:15 am)
Re: [Xen-devel] Re: [PATCH 20/23] xen-pcifront: Xen PCI fr ..., Konrad Rzeszutek Wilk, (Thu Oct 14, 10:35 am)