summaryrefslogtreecommitdiffstats
path: root/CREDITS
diff options
context:
space:
mode:
authorDenis Efremov <efremov@linux.com>2019-08-06 16:07:15 +0200
committerBjorn Helgaas <bhelgaas@google.com>2019-08-08 22:12:12 +0200
commit39098edbd79e5c9a4357eb924cb259d1c8a11346 (patch)
treeb7370fca436732335e5345aba5fd901aab02dffd /CREDITS
parentPCI: Convert pci_resource_to_user() to a weak function (diff)
downloadlinux-39098edbd79e5c9a4357eb924cb259d1c8a11346.tar.xz
linux-39098edbd79e5c9a4357eb924cb259d1c8a11346.zip
PCI: Use PCI_SRIOV_NUM_BARS in loops instead of PCI_IOV_RESOURCE_END
Writing loop conditions as "i < NUM" is a common C idiom; using "i <= END" is unusual and thus prone to errors. Change loops to use the former. Link: https://lore.kernel.org/r/20190806140715.19847-1-efremov@linux.com Signed-off-by: Denis Efremov <efremov@linux.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions