]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/buddy: avoid double list_add
authorMatthew Auld <matthew.auld@intel.com>
Thu, 5 Mar 2020 20:47:10 +0000 (20:47 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Mar 2020 14:33:08 +0000 (14:33 +0000)
commit56dda70b954dfbd245a74000b2ab5b7dc6400917
tree996d77e276b5dc2578a26a059ed088fd088373f9
parent50087787072f4859c8769116dfce628761aca254
drm/i915/buddy: avoid double list_add

Be careful not to mark an already free node as free again.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200305204711.217783-1-matthew.auld@intel.com
drivers/gpu/drm/i915/i915_buddy.c