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/bridge: chipone-icn6211: remove bridge when chipone_dsi_host_attach fails Date: Sun, 12 Apr 2026 09:26:10 +1000 Message-ID: In-Reply-To: <20260410195537.295119-1-osama.abdelkader@gmail.com> References: <20260410195537.295119-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/bridge: chipone-icn6211: remove bridge when chipone_dsi_host_attach fails Author: Osama Abdelkader Patches: 1 Reviewed: 2026-04-12T09:26:10.914700 --- This is a single, straightforward bugfix patch that addresses a resource leak in the `chipone_i2c_probe()` error path. When `chipone_dsi_host_attach()` fails, the bridge added via `drm_bridge_add()` was not being cleaned up, leaving a stale bridge registered. The fix correctly mirrors the pattern already used in the sibling `chipone_dsi_probe()` function. The fix is correct and minimal. One minor style nit exists. **Verdict: Patch looks good with a minor nit.** --- Generated by Claude Code Patch Reviewer