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/pagemap_util: Ensure proper cache lock management on free Date: Fri, 27 Feb 2026 15:07:14 +1000 Message-ID: In-Reply-To: <20260224154832.7249-2-jonathan.cavitt@intel.com> References: <20260224154832.7249-2-jonathan.cavitt@intel.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/pagemap_util: Ensure proper cache lock management on free Author: Jonathan Cavitt Patches: 3 Reviewed: 2026-02-27T15:07:14.058937 --- This is a single patch (v2) that refactors the `drm_pagemap_cache_fini()` function to address a static analysis warning about the cache spinlock not being consistently unlocked on all paths. The change is a code cleanup / correctness fix that restructures the function to ensure `spin_unlock(&cache->lock)` is always called on a single path rather than on two separate branches. The patch is generally correct but has one real bug. --- Generated by Claude Code Patch Reviewer