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: Fix refcount shown via debugfs for encoder_bridges_show() Date: Fri, 13 Mar 2026 14:28:00 +1000 Message-ID: In-Reply-To: <20260312-drm-misc-next-2026-03-05-fix-encoder-bridges-refcount-v1-1-b9ba3d844732@nxp.com> References: <20260312-drm-misc-next-2026-03-05-fix-encoder-bridges-refcount-v1-1-b9ba3d844732@nxp.com> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Overall Series Review Subject: drm/bridge: Fix refcount shown via debugfs for encoder_bridges_sho= w() Author: Liu Ying Patches: 2 Reviewed: 2026-03-13T14:28:00.934943 --- This is a single-patch fix for a debugfs display issue where `encoder_bridg= es_show()` reports an inflated refcount (4 instead of the expected 3) becau= se `drm_for_each_bridge_in_chain_scoped()` holds an extra reference during = iteration. The bug analysis is correct and the fix works, but the implement= ation is over-engineered =E2=80=94 it adds two wrapper functions and a `boo= l scoped` parameter when a simpler approach would suffice. --- Generated by Claude Code Patch Reviewer