mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 02:23:05 +00:00
Add a unreference bo in the error path, to prevent leaking a bo ref. Return 0 on success to clarify the success path. Signed-off-by: Maarten Lankhorst <[email protected]> Fixes:44e694958b("drm/xe/display: Implement display support") Cc: <[email protected]> # v6.8+ Reviewed-by: Nirmoy Das <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commita2f3d731be) Signed-off-by: Lucas De Marchi <[email protected]>