From mboxrd@z Thu Jan 1 00:00:00 1970 From: Claude Code Review Bot To: dri-devel-reviews@example.com Subject: Claude review: dma-buf: heaps: use max3 in dma_heap_ioctl Date: Mon, 18 May 2026 16:01:29 +1000 Message-ID: In-Reply-To: <20260517172352.3615-2-thorsten.blum@linux.dev> References: <20260517172352.3615-2-thorsten.blum@linux.dev> 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: dma-buf: heaps: use max3 in dma_heap_ioctl Author: Thorsten Blum Patches: 1 Reviewed: 2026-05-18T16:01:29.053378 --- This is a single-patch series that is a straightforward, correct cleanup. I= t replaces `max(max(in_size, out_size), drv_size)` with `max3(in_size, out_= size, drv_size)` and adds the corresponding `#include ` hea= der. The change is purely cosmetic =E2=80=94 it improves readability with n= o functional change. All three arguments are the same type (`unsigned int`)= , so there are no type-promotion concerns with `max3`. Already has a Reviewed-by from T.J. Mercier. **Verdict: Looks good. No issues found.** --- Generated by Claude Code Patch Reviewer