Skip to content
Commit 01b37f85 authored by Changbin Du's avatar Changbin Du Committed by Bjorn Helgaas
Browse files

PCI: Make pci_size() return real BAR size



Currently, the pci_size() function actually returns 'size-1'.  Make it
return real size to avoid confusion.

Signed-off-by: default avatarDu Changbin <changbin.du@gmail.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 51c48b31
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment