]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/linux/pci.h
PCI: Change pci_bus_alloc_resource() type_mask to unsigned long
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 7 Mar 2014 20:51:12 +0000 (13:51 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 19 Mar 2014 21:00:16 +0000 (15:00 -0600)
commit664c28480c90fb8541bcdd1d4b349e9436165ec7
tree6e21ff55e150e7b0e61247407ea985b7ce15a551
parentaa11fc58dc71c27701b1f9a529a36a38d4337722
PCI: Change pci_bus_alloc_resource() type_mask to unsigned long

The pci_bus_alloc_resource() "type_mask" parameter is used to compare with
the "flags" member of a struct resource, so it should be the same type,
namely "unsigned long".

No functional change because all current IORESOURCE_* flags fit in 32 bits.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/bus.c
include/linux/pci.h