Skip to content
Commit 01b37f85 authored by Du Changbin's avatar Du Changbin 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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment