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/msm: Fix dma_free_attrs() buffer size Date: Fri, 27 Feb 2026 12:28:53 +1000 Message-ID: In-Reply-To: <20260226095714.12126-2-fourier.thomas@gmail.com> References: <20260226095714.12126-2-fourier.thomas@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/msm: Fix dma_free_attrs() buffer size Author: Thomas Fourier Patches: 1 Reviewed: 2026-02-27T12:28:53.426085 --- This is a single-patch series that fixes a real DMA buffer size mismatch bug in the Adreno a2xx GPU MMU driver. The fix is correct and minimal. The allocation at line 102 uses `TABLE_SIZE + 32` while the free (before this patch) used only `TABLE_SIZE`. Passing a wrong size to `dma_free_attrs()` can corrupt DMA allocator metadata, potentially causing memory corruption or leaks. The patch is appropriate for stable backport. --- Generated by Claude Code Patch Reviewer