summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_h5.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2014-02-26 19:25:58 +0100
committerBjorn Helgaas <bhelgaas@google.com>2014-02-27 18:43:32 +0100
commitbd064f0a231af336218838474ea45a64f1672190 (patch)
treea1deda3444f1c2554e22c6969641352cc2cc8eb1 /drivers/bluetooth/hci_h5.c
parentPCI: Remove pci_find_parent_resource() use for allocation (diff)
downloadlinux-bd064f0a231af336218838474ea45a64f1672190.tar.xz
linux-bd064f0a231af336218838474ea45a64f1672190.zip
PCI: Mark resources as IORESOURCE_UNSET if we can't assign them
When assigning addresses to resources, mark them with IORESOURCE_UNSET before we start and clear IORESOURCE_UNSET if assignment is successful. That means that if we print the resource during assignment, we will show the size, not a meaningless address. Also, clear IORESOURCE_UNSET if we do assign an address, so we print the address when it is valid. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/bluetooth/hci_h5.c')
0 files changed, 0 insertions, 0 deletions