diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2014-05-20 04:28:37 +0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-05-23 22:40:48 +0400 |
commit | 30afe8d00b994416b24c63f8c5bbf1c13869ec3c (patch) | |
tree | a107bdb2d3c7ffa3c70e4d3e0a78e40926aa0ed8 /drivers/pci/setup-res.c | |
parent | 5b28541552ef5eeffc41d6936105f38c2508e566 (diff) | |
download | linux-30afe8d00b994416b24c63f8c5bbf1c13869ec3c.tar.xz |
PCI: Change pbus_size_mem() return values to be more conventional
pbus_size_mem() previously returned 0 for failure and 1 for success.
Change it to return -ENOSPC for failure and 0 for success.
No functional change.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/setup-res.c')
0 files changed, 0 insertions, 0 deletions