Re: [PATCH v2 03/10] x86/PCI: Loop using PCI_STD_NUM_BARS

From: Thomas Gleixner
Date: Fri Aug 16 2019 - 05:32:55 EST


On Fri, 16 Aug 2019, Denis Efremov wrote:

> Refactor loops to use 'i < PCI_STD_NUM_BARS' instead of
> 'i <= PCI_STD_RESOURCE_END'.

Please describe the WHY not the WHAT. I can see the WHAT from the patch
itself, but I can't figure out WHY.

Thanks,

tglx