Re: [PATCH 1/6] PCI, acpiphp: Use list_for_each_entry() for bus traversal

2014-02-14 Thread Yijing Wang
On 2014/2/15 2:23, Bjorn Helgaas wrote: > On Thu, Feb 13, 2014 at 09:13:58PM +0800, Yijing Wang wrote: >> Replace list_for_each() + pci_bus_b() with the simpler >> list_for_each_entry(). >> >> Signed-off-by: Yijing Wang > > I applied all six of these (please

Re: [PATCH 1/6] PCI, acpiphp: Use list_for_each_entry() for bus traversal

2014-02-14 Thread Yijing Wang
>>> Does it conflict with anything currently in linux-next (the linux-next >>> branch >>> of linux-pm.git in particular)? >> >> Hi Rafael, >>I applied this to your linux-next branch successfully . No conflicts >> found. > > Good. :-) > > Please feel free to add my ACK to it. Thanks very mu

Re: [PATCH 1/6] PCI, acpiphp: Use list_for_each_entry() for bus traversal

2014-02-13 Thread Yijing Wang
On 2014/2/14 7:54, Rafael J. Wysocki wrote: > On Thursday, February 13, 2014 09:13:58 PM Yijing Wang wrote: >> Replace list_for_each() + pci_bus_b() with the simpler >> list_for_each_entry(). >> >> Signed-off-by: Yijing Wang > > Looks reasonable to me. &g

[PATCH 6/6] PCI: Remove pci_bus_b() and use list_entry() directly

2014-02-13 Thread Yijing Wang
Replace pci_bus_b() with list_entry(), so we can remove pci_bus_b(). Signed-off-by: Yijing Wang --- drivers/pci/pci.c|6 +++--- drivers/pci/search.c | 10 +- include/linux/pci.h |1 - 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/pci/pci.c b

[PATCH 2/6] PCI/arm: Use list_for_each_entry() for bus traversal

2014-02-13 Thread Yijing Wang
Replace list_for_each() + pci_bus_b() with the simpler list_for_each_entry(). Signed-off-by: Yijing Wang --- arch/arm/kernel/bios32.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/arch/arm/kernel/bios32.c b/arch/arm/kernel/bios32.c index 317da88..0a77858 100644

[PATCH 1/6] PCI,acpiphp: Use list_for_each_entry() for bus traversal

2014-02-13 Thread Yijing Wang
Replace list_for_each() + pci_bus_b() with the simpler list_for_each_entry(). Signed-off-by: Yijing Wang --- drivers/pci/hotplug/acpiphp_glue.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/pci/hotplug/acpiphp_glue.c b/drivers/pci/hotplug/acpiphp_glue.c

[PATCH 4/6] PCI/powerpc: Use list_for_each_entry() for bus traversal

2014-02-13 Thread Yijing Wang
Replace list_for_each() + pci_bus_b() with the simpler list_for_each_entry(). Signed-off-by: Yijing Wang --- arch/powerpc/kernel/pci_64.c |4 +--- arch/powerpc/platforms/pseries/pci_dlpar.c |6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/arch

[PATCH 5/6] PCI/pcmcia: Use list_for_each_entry() for bus traversal

2014-02-13 Thread Yijing Wang
Replace list_for_each() + pci_bus_b() with the simpler list_for_each_entry(). Signed-off-by: Yijing Wang --- drivers/pcmcia/yenta_socket.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/pcmcia/yenta_socket.c b/drivers/pcmcia/yenta_socket.c index 8485761

[PATCH 3/6] PCI/drm: Use list_for_each_entry() for bus traversal

2014-02-13 Thread Yijing Wang
Replace list_for_each() + pci_bus_b() with the simpler list_for_each_entry(). Signed-off-by: Yijing Wang --- drivers/gpu/drm/drm_fops.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/drm_fops.c b/drivers/gpu/drm/drm_fops.c index 7f2af9a..70d2987

Re: [PATCH v2 00/16] Clean up drivers/pci/remove.c

2012-08-20 Thread Yijing Wang
On 2012/8/20 23:40, Bjorn Helgaas wrote: > On Sun, Aug 19, 2012 at 10:58 PM, Yijing Wang wrote: >> tested-by Yijing Wang > > Great, thanks for trying this out! Can you give me any details on > what you tested (what sort of machine, which hotplug driver, PCIe > button

Re: [PATCH v2 00/16] Clean up drivers/pci/remove.c

2012-08-19 Thread Yijing Wang
tested-by Yijing Wang > This started as a simple conversion of list_for_each() to > list_for_each_entry(), so I could remove the pci_dev_b() helper. > > In the process, I noticed that drivers/pci/remove.c is getting a little > crufty, so I reworked it to make it more understanda