drm/gem: Use vmemdup_array_user in drm_gem_objects_lookup

Use a helper to shrink the code and separate the user and kernel slabs for
better security.

While at it lets remove the useless debug message.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Reviewed-by: André Almeida <andrealmeid@igalia.com>
Signed-off-by: Tvrtko Ursulin <tursulin@ursulin.net>
Link: https://lore.kernel.org/r/20251112092732.23584-1-tvrtko.ursulin@igalia.com
This commit is contained in:
Tvrtko Ursulin 2025-11-12 09:27:32 +00:00 • committed by Tvrtko Ursulin
commit cb77b79abf