aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorBjorn Helgaas <[email protected]>2010-03-12 00:01:09 +0000
committerJesse Barnes <[email protected]>2010-03-23 20:33:50 +0000
commit66f1207bce10fd80ee8ce99b67d617644612f05e (patch)
tree3031bb74dce8c54af69dcd4aa7e566f40a5511ce /lib/debugobjects.c
parentPCI: cleanup error return for pcix get and set mmrbc functions (diff)
downloadkernel-66f1207bce10fd80ee8ce99b67d617644612f05e.tar.gz
kernel-66f1207bce10fd80ee8ce99b67d617644612f05e.zip
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 <[email protected]> Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions