aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorDenis Efremov <[email protected]>2019-08-06 17:07:15 +0300
committerBjorn Helgaas <[email protected]>2019-08-08 15:12:12 -0500
commit39098edbd79e5c9a4357eb924cb259d1c8a11346 (patch)
treeb7370fca436732335e5345aba5fd901aab02dffd /fs/btrfs/dev-replace.c
parentb8074aa2460b535915e8f65bf83c4bcb4220f804 (diff)
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/[email protected] Signed-off-by: Denis Efremov <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Kuppuswamy Sathyanarayanan <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions