aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2010-03-11 17:01:09 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2010-03-23 13:33:50 -0700
commit66f1207bce10fd80ee8ce99b67d617644612f05e (patch)
tree3031bb74dce8c54af69dcd4aa7e566f40a5511ce /drivers/pci
parent7c9e2b1c4784c6e574f69dbd904b2822f2e04d6e (diff)
resources: add interfaces that return conflict information
request_resource() and insert_resource() only return success or failure, which no information about what existing resource conflicted with the proposed new reservation. This patch adds request_resource_conflict() and insert_resource_conflict(), which return the conflicting resource. Callers may use this for better error messages or to adjust the new resource and retry the request. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions