From: Yang Zhang <yang.z.zhang@Intel.com> Fix the wrong check in pciback. Signed-off-by: Yang Zhang <yang.z.zhang@Intel.com> --- drivers/xen/xen-pciback/pciback.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/xen/xen-pciback/pciback.h b/drivers/xen/xen-pciback/pciback.h index a7def01..f72af87 100644 --- a/drivers/xen/xen-pciback/pciback.h +++ b/drivers/xen/xen-pciback/pciback.h @@ -124,7 +124,7 @@ static inline int xen_pcibk_add_pci_dev(struct xen_pcibk_device *pdev, static inline void xen_pcibk_release_pci_dev(struct xen_pcibk_device *pdev, struct pci_dev *dev) { - if (xen_pcibk_backend && xen_pcibk_backend->free) + if (xen_pcibk_backend && xen_pcibk_backend->release) return xen_pcibk_backend->release(pdev, dev); } -- 1.7.1.1
Zhang, Yang Z wrote on 2012-11-22:> From: Yang Zhang <yang.z.zhang@Intel.com> > > Fix the wrong check in pciback. > > Signed-off-by: Yang Zhang <yang.z.zhang@Intel.com> > --- > drivers/xen/xen-pciback/pciback.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > diff --git a/drivers/xen/xen-pciback/pciback.h > b/drivers/xen/xen-pciback/pciback.h index a7def01..f72af87 100644 --- > a/drivers/xen/xen-pciback/pciback.h +++ > b/drivers/xen/xen-pciback/pciback.h @@ -124,7 +124,7 @@ static inline > int xen_pcibk_add_pci_dev(struct xen_pcibk_device *pdev, > static inline void xen_pcibk_release_pci_dev(struct xen_pcibk_device *pdev, > struct pci_dev *dev) > { > - if (xen_pcibk_backend && xen_pcibk_backend->free) > + if (xen_pcibk_backend && xen_pcibk_backend->release) > return xen_pcibk_backend->release(pdev, dev); > } > -- > 1.7.1.1Any comment? Best regards, Yang
Konrad Rzeszutek Wilk
2012-Dec-21 19:21 UTC
Re: [PATCH] x86/xen : Fix the wrong check in pciback
On Thu, Dec 13, 2012 at 08:25:54AM +0000, Zhang, Yang Z wrote:> Zhang, Yang Z wrote on 2012-11-22: > > From: Yang Zhang <yang.z.zhang@Intel.com> > > > > Fix the wrong check in pciback. > > > > Signed-off-by: Yang Zhang <yang.z.zhang@Intel.com> > > --- > > drivers/xen/xen-pciback/pciback.h | 2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/xen/xen-pciback/pciback.h > > b/drivers/xen/xen-pciback/pciback.h index a7def01..f72af87 100644 --- > > a/drivers/xen/xen-pciback/pciback.h +++ > > b/drivers/xen/xen-pciback/pciback.h @@ -124,7 +124,7 @@ static inline > > int xen_pcibk_add_pci_dev(struct xen_pcibk_device *pdev, > > static inline void xen_pcibk_release_pci_dev(struct xen_pcibk_device *pdev, > > struct pci_dev *dev) > > { > > - if (xen_pcibk_backend && xen_pcibk_backend->free) > > + if (xen_pcibk_backend && xen_pcibk_backend->release) > > return xen_pcibk_backend->release(pdev, dev); > > } > > -- > > 1.7.1.1 > Any comment?Hm, I don''t seem to have it in my queue, weird. Putting it in now.> > Best regards, > Yang > > >
Konrad Rzeszutek Wilk
2013-Jan-11 18:00 UTC
Re: [PATCH] x86/xen : Fix the wrong check in pciback
On Thu, Nov 22, 2012 at 10:20:23AM +0800, Yang Zhang wrote:> From: Yang Zhang <yang.z.zhang@Intel.com> > > Fix the wrong check in pciback.Applied> > Signed-off-by: Yang Zhang <yang.z.zhang@Intel.com> > --- > drivers/xen/xen-pciback/pciback.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/xen/xen-pciback/pciback.h b/drivers/xen/xen-pciback/pciback.h > index a7def01..f72af87 100644 > --- a/drivers/xen/xen-pciback/pciback.h > +++ b/drivers/xen/xen-pciback/pciback.h > @@ -124,7 +124,7 @@ static inline int xen_pcibk_add_pci_dev(struct xen_pcibk_device *pdev, > static inline void xen_pcibk_release_pci_dev(struct xen_pcibk_device *pdev, > struct pci_dev *dev) > { > - if (xen_pcibk_backend && xen_pcibk_backend->free) > + if (xen_pcibk_backend && xen_pcibk_backend->release) > return xen_pcibk_backend->release(pdev, dev); > } > > -- > 1.7.1.1 >