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: drm_bridge_put(): ignore ERR_PTR Date: Sat, 16 May 2026 15:02:22 +1000 Message-ID: In-Reply-To: <20260511-drm-bridge-alloc-getput-panel_or_bridge-v6-1-f61c9e498b3f@bootlin.com> References: <20260511-drm-bridge-alloc-getput-panel_or_bridge-v6-0-f61c9e498b3f@bootlin.com> <20260511-drm-bridge-alloc-getput-panel_or_bridge-v6-1-f61c9e498b3f@bootlin.com> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Patch Review Clean one-liner. The change from `if (bridge)` to `if (!IS_ERR_OR_NULL(bridge))` follows the standard kernel pattern (e.g. `kfree()` ignoring NULL). This is essential prep work since `of_drm_get_bridge_by_endpoint()` returns ERR_PTR values, and callers should be able to safely call `drm_bridge_put()` without checking first. Already has R-by from Dmitry and Laurent. No issues. --- Generated by Claude Code Patch Reviewer