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
>>> 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
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
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
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
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
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
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
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
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
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
11 matches
Mail list logo