aboutsummaryrefslogtreecommitdiff
path: root/drivers/iio
diff options
context:
space:
mode:
authorDeepak Rawat <drawat@vmware.com>2019-02-28 10:29:54 -0800
committerThomas Hellstrom <thellstrom@vmware.com>2019-03-20 07:53:29 +0100
commit4b9ce3a651a37c60527101db4451a315a8b9588f (patch)
tree0e49ac8188911a74d095328a834901355f21ef8f /drivers/iio
parent1c163f4c7b3f621efff9b28a47abb36f7378d783 (diff)
drm/vmwgfx: Return 0 when gmrid::get_node runs out of ID's
If it's not a system error and get_node implementation accommodate the buffer object then it should return 0 with memm::mm_node set to NULL. v2: Test for id != -ENOMEM instead of id == -ENOSPC. Cc: <stable@vger.kernel.org> Fixes: 4eb085e42fde ("drm/vmwgfx: Convert to new IDA API") Signed-off-by: Deepak Rawat <drawat@vmware.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions