aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMatthew Wilcox <[email protected]>2018-10-30 09:53:51 -0700
committerGerd Hoffmann <[email protected]>2018-11-14 12:50:34 +0100
commit556c62e85f9b97139c1b3f6f1585fcee0bc3eb6a (patch)
tree7e954dcef435d0b5b8a1128b81f92cd03f35b597 /scripts
parent7db647aa8b134059c3b8f26b1dd2e1aa5b91e2ca (diff)
drm/virtio: Handle error from virtio_gpu_resource_id_get
ida_alloc() can return -ENOMEM in the highly unlikely case we run out of memory. The current code creates an object with an invalid ID. 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 'scripts')
0 files changed, 0 insertions, 0 deletions