]> git.ipfire.org Git - thirdparty/linux.git/commit - lib/devres.c
PCI: Increase resource array mask bit size in pcim_iomap_regions()
authorYinghai Lu <yinghai@kernel.org>
Wed, 4 Jan 2012 23:50:02 +0000 (15:50 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 6 Jan 2012 20:15:21 +0000 (12:15 -0800)
commitfb7ebfe4108e2cdfa2bb88e57148087717463dfa
treee18690b45566b6c4df7598524bdbeb71fbd80ba1
parentcda57bf9348fdbf4b8a830d6f9eb7da81df2f486
PCI: Increase resource array mask bit size in pcim_iomap_regions()

DEVICE_COUNT_RESOURCE will be bigger than 16 when SRIOV supported is enabled.

Let them pass with int just like pci_enable_resources().

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
include/linux/pci.h
lib/devres.c