mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
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: Du Changbin <changbin.du@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:
parent
51c48b3101
commit
01b37f851c
1 changed files with 4 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue