Re: [PATCH v2 02/10] s390/pci: Loop using PCI_STD_NUM_BARS

2019-08-16 Thread Sebastian Ott
On Fri, 16 Aug 2019, Denis Efremov wrote: > Refactor loops to use 'i < PCI_STD_NUM_BARS' instead of > 'i <= PCI_STD_RESOURCE_END'. > > Signed-off-by: Denis Efremov > --- > arch/s390/include/asm/pci.h | 5 + > arch/s390/include/asm/pci_clp.h | 6 +++--- > arch/s390/pci/pci.c

[PATCH v2 02/10] s390/pci: Loop using PCI_STD_NUM_BARS

2019-08-16 Thread Denis Efremov
Refactor loops to use 'i < PCI_STD_NUM_BARS' instead of 'i <= PCI_STD_RESOURCE_END'. Signed-off-by: Denis Efremov --- arch/s390/include/asm/pci.h | 5 + arch/s390/include/asm/pci_clp.h | 6 +++--- arch/s390/pci/pci.c | 16 arch/s390/pci/pci_clp.c |