Re: [PATCH v2 4/4] PCI: remove assignement in non straight forward if condition

2014-09-24 Thread Bjorn Helgaas
On Sun, Sep 07, 2014 at 08:04:28PM +0200, Quentin Lambert wrote: > The modifications effectively change the value of len_tmp > in the case where the first condition is not met. > > Signed-off-by: Quentin Lambert > --- > drivers/pci/hotplug/ibmphp_res.c | 13 + > drivers/pci/pci.c

[PATCH v2 4/4] PCI: remove assignement in non straight forward if condition

2014-09-07 Thread Quentin Lambert
The modifications effectively change the value of len_tmp in the case where the first condition is not met. Signed-off-by: Quentin Lambert --- drivers/pci/hotplug/ibmphp_res.c | 13 + drivers/pci/pci.c| 6 +- drivers/pci/slot.c | 12 ++-- 3