All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] PCI: Update outdated comment for pcibios_bus_report_status
@ 2014-02-13 11:57 Yijing Wang
  2014-02-14 18:22 ` Bjorn Helgaas
  0 siblings, 1 reply; 2+ messages in thread
From: Yijing Wang @ 2014-02-13 11:57 UTC (permalink / raw)
  To: Bjorn Helgaas, Russell King; +Cc: linux-pci, Yijing Wang, Hanjun Guo

pci_find_device() has been superseded by pci_get_device().

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
---
 arch/arm/kernel/bios32.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/kernel/bios32.c b/arch/arm/kernel/bios32.c
index 317da88..588ec19 100644
--- a/arch/arm/kernel/bios32.c
+++ b/arch/arm/kernel/bios32.c
@@ -19,7 +19,7 @@
 static int debug_pci;
 
 /*
- * We can't use pci_find_device() here since we are
+ * We can't use pci_get_device() here since we are
  * called from interrupt context.
  */
 static void pcibios_bus_report_status(struct pci_bus *bus, u_int status_mask, int warn)
-- 
1.7.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] PCI: Update outdated comment for pcibios_bus_report_status
  2014-02-13 11:57 [PATCH] PCI: Update outdated comment for pcibios_bus_report_status Yijing Wang
@ 2014-02-14 18:22 ` Bjorn Helgaas
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2014-02-14 18:22 UTC (permalink / raw)
  To: Yijing Wang; +Cc: Russell King, linux-pci, Hanjun Guo

On Thu, Feb 13, 2014 at 07:57:43PM +0800, Yijing Wang wrote:
> pci_find_device() has been superseded by pci_get_device().
> 
> Signed-off-by: Yijing Wang <wangyijing@huawei.com>

Applied to my pci/misc branch for v3.15, thanks!

> ---
>  arch/arm/kernel/bios32.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/kernel/bios32.c b/arch/arm/kernel/bios32.c
> index 317da88..588ec19 100644
> --- a/arch/arm/kernel/bios32.c
> +++ b/arch/arm/kernel/bios32.c
> @@ -19,7 +19,7 @@
>  static int debug_pci;
>  
>  /*
> - * We can't use pci_find_device() here since we are
> + * We can't use pci_get_device() here since we are
>   * called from interrupt context.
>   */
>  static void pcibios_bus_report_status(struct pci_bus *bus, u_int status_mask, int warn)
> -- 
> 1.7.1
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-14 18:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-13 11:57 [PATCH] PCI: Update outdated comment for pcibios_bus_report_status Yijing Wang
2014-02-14 18:22 ` Bjorn Helgaas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.