]> asedeno.scripts.mit.edu Git - linux.git/commit
s390/pci: PCI_IOV_RESOURCES loop refactoring in zpci_map_resources
authorDenis Efremov <efremov@linux.com>
Tue, 6 Aug 2019 16:01:37 +0000 (19:01 +0300)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 21 Aug 2019 10:41:43 +0000 (12:41 +0200)
commitc4c3772384bc93e3d1eccd88bd7f5d74de74e0d7
tree8b8eb6e7651905dd0f21f5fd44e2cd69aad7d814
parent59793c5ab93fed9661deaf6d8ba054af681c0a6a
s390/pci: PCI_IOV_RESOURCES loop refactoring in zpci_map_resources

This patch alters the for loop iteration scheme in zpci_map_resources
to make it more usual. Thus, the patch generalizes the style for
PCI_IOV_RESOURCES iteration and improves readability.

Link: http://lkml.kernel.org/r/20190806160137.29275-1-efremov@linux.com
Signed-off-by: Denis Efremov <efremov@linux.com>
Signed-off-by: Sebastian Ott <sebott@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/pci/pci.c