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/ttm/tests: Fix build failure on PREEMPT_RT Date: Fri, 27 Feb 2026 11:52:16 +1000 Message-ID: In-Reply-To: <20260226151228.256003-1-dev@lankhorst.se> References: <20260226151228.256003-1-dev@lankhorst.se> 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/ttm/tests: Fix build failure on PREEMPT_RT Author: Maarten Lankhorst Patches: 1 Reviewed: 2026-02-27T11:52:16.138579 --- This is a single-patch fix for a build failure in the TTM kunit tests when `CONFIG_PREEMPT_RT` is enabled. The fix is straightforward and correct: it replaces direct access to the internal `mutex` base member of a `ww_mutex` with the proper `ww_mutex_lock()`/`ww_mutex_unlock()` API calls. On PREEMPT_RT kernels, the underlying mutex implementation changes from a standard `mutex` to an `rt_mutex`, so accessing `.lock.base` directly breaks. The patch is well-motivated (reported by the kernel test robot), small, and low-risk. **Recommendation: Looks good.** --- Generated by Claude Code Patch Reviewer