aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/debug.c
diff options
context:
space:
mode:
authorMatthew Wilcox <[email protected]>2018-09-26 09:00:29 -0700
committerGerd Hoffmann <[email protected]>2018-10-29 22:50:55 +0100
commit6a37c49a94a95d4cd8ce4e7466f3bbb17e80ca64 (patch)
tree0a6b6d23e0056a6f635f36ec79f69b2b9c4bcaa6 /tools/lib/api/debug.c
parent1938d1ae32fefa172288e3a9245ae126640c5c10 (diff)
drm/virtio: Handle context ID allocation errors
It is possible to run out of memory while allocating IDs. The current code would create a context with an invalid ID; change it to return -ENOMEM to userspace. Signed-off-by: Matthew Wilcox <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Gerd Hoffmann <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions