]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Change pbus_size_mem() return values to be more conventional
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 20 May 2014 00:28:37 +0000 (18:28 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 23 May 2014 18:40:48 +0000 (12:40 -0600)
commit22cc6be067449a388596b5d6b3769714810dff3a
treea107bdb2d3c7ffa3c70e4d3e0a78e40926aa0ed8
parent2de411c7db912a1ae80bc1c094ad90d07bfac07c
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>
drivers/pci/setup-bus.c