From mboxrd@z Thu Jan 1 00:00:00 1970 From: Claude Code Review Bot To: dri-devel-reviews@example.com Subject: Claude review: drm/sti: hdmi: remove bridge when component_add fails Date: Sun, 12 Apr 2026 09:29:49 +1000 Message-ID: In-Reply-To: <20260410194141.275998-1-osama.abdelkader@gmail.com> References: <20260410194141.275998-1-osama.abdelkader@gmail.com> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Overall Series Review Subject: drm/sti: hdmi: remove bridge when component_add fails Author: Osama Abdelkader Patches: 1 Reviewed: 2026-04-12T09:29:49.186001 --- This is a single-patch fix for a resource leak in the `sti_hdmi_probe()` error path. The bug is real: when `component_add()` fails, the previously-added DRM bridge is leaked and the i2c adapter reference is not released. The fix is correct and follows the existing error-handling pattern in the function. **Verdict: Good fix, minor style nit.** --- Generated by Claude Code Patch Reviewer